Skip to content

Commit

Permalink
downgrade playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-polinsky committed Oct 22, 2024
1 parent 27152e3 commit 9578ae6
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 41 deletions.
3 changes: 0 additions & 3 deletions .pipelines/integration-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,6 @@ jobs:
git config user.name imodeljs-admin
displayName: git config
- script: rm -rf /Users/runner/Library/Caches/ms-playwright
displayName: Clear Playwright cache

- script: pnpm install
displayName: Install packages

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"devDependencies": {
"beachball": "^2.43.1",
"lage": "^2.7.18",
"path-browserify": "^1.0.0",
"process": "^0.11.10"
}
}
2 changes: 1 addition & 1 deletion packages/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@itwin/build-tools": "^4.6.0-dev.27",
"@itwin/core-bentley": "^3.7.0",
"@itwin/eslint-plugin": "^4.0.2",
"@playwright/test": "~1.48.0",
"@playwright/test": "~1.41.0",
"@types/chai": "^4.2.22",
"@types/mocha": "^8.2.3",
"@types/node": "^18.11.5",
Expand Down
8 changes: 4 additions & 4 deletions packages/electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
"lint": "eslint -f visualstudio \"./src/**/*.ts\" 1>&2",
"lint:fix": "npm run lint -- --fix",
"test": "mocha \"./lib/cjs/test/**/*.test.js\"",
"test:integration": "npm run test:integration:build && npx playwright test",
"test:integration:start": "npm run test:integration:build && electron dist/integration-test/test-app/index.js",
"test:integration:build": "npm run test:integration:parcel && tsc -p ./src/integration-test/",
"test:integration": "pnpm test:integration:build && pnpm exec playwright test",
"test:integration:start": "pnpm test:integration:build && electron dist/integration-test/test-app/index.js",
"test:integration:build": "pnpm test:integration:parcel && tsc -p ./src/integration-test/",
"test:integration:parcel": "parcel build src/integration-test/test-app/index.html --dist-dir dist/integration-test/test-app --public-url ./",
"pack": "npm pack",
"rebuild": "npm run clean && npm run build"
Expand All @@ -52,7 +52,7 @@
"@itwin/build-tools": "^4.6.0-dev.27",
"@itwin/core-bentley": "^3.7.0",
"@itwin/eslint-plugin": "^4.0.2",
"@playwright/test": "~1.48.0",
"@playwright/test": "~1.41.0",
"@types/chai": "^4.2.22",
"@types/chai-as-promised": "^7.1.1",
"@types/mocha": "^8.2.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/electron/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { PlaywrightTestConfig } from '@playwright/test'

const config: PlaywrightTestConfig = {
testDir: './src/integration-test',
timeout: 60000,
timeout: 5000,
use: {
screenshot: "only-on-failure",
headless: true
Expand Down
40 changes: 8 additions & 32 deletions pnpm-lock.yaml

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

0 comments on commit 9578ae6

Please sign in to comment.