Skip to content

Commit

Permalink
fix e2e setup
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-bromann committed Dec 21, 2023
1 parent 2713872 commit 4780e0c
Show file tree
Hide file tree
Showing 4 changed files with 136 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
pull_request:

jobs:
service:
ci:
runs-on: ubuntu-latest

strategy:
Expand Down
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
"prepare": "husky install",
"watch": "pnpm run -r --parallel watch"
},
"dependencies": {
"wdio-image-comparison-service": "file:./packages/service"
},
"devDependencies": {
"@tsconfig/node20": "^20.1.2",
"@types/eslint": "^8.56.0",
Expand All @@ -54,6 +57,8 @@
"npm-run-all": "^4.1.5",
"release-it": "^17.0.1",
"rimraf": "^5.0.5",
"saucelabs": "^7.4.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"vitest": "^1.1.0",
"webdriverio": "^8.27.0"
Expand Down
137 changes: 129 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/configs/wdio.saucelabs.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { join } from 'node:path'
import { setValue, getValue } from '@wdio/shared-store-service'
import type { Job } from 'saucelabs'
import SauceLabs from 'saucelabs'
import WdioImageComparisonService from '../../build/index.js'
import WdioImageComparisonService from 'wdio-image-comparison-service'
import { config as sharedConfig } from './wdio.shared.conf.ts'
import { sauceIosSim } from './sauce.ios.sims.ts'
import { sauceAndroidEmus } from './sauce.android.emus.js'
Expand Down

0 comments on commit 4780e0c

Please sign in to comment.