Skip to content

Commit 4e878e6

Browse files
update playwright
1 parent a9a190b commit 4e878e6

File tree

4 files changed

+16
-15
lines changed

4 files changed

+16
-15
lines changed

.github/workflows/quality.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
jobs:
1010
e2e_tests:
1111
name: Playwright Tests
12+
timeout-minutes: 60
1213
runs-on: ubuntu-latest
1314
permissions:
1415
contents: read

package-lock.json

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
"@gravity-ui/prettier-config": "^1.1.0",
112112
"@gravity-ui/stylelint-config": "^5.0.0",
113113
"@gravity-ui/tsconfig": "^1.0.0",
114-
"@playwright/test": "^1.50.1",
114+
"@playwright/test": "^1.57.0",
115115
"@rsbuild/core": "^1.6.9",
116116
"@rsbuild/plugin-react": "^1.4.2",
117117
"@rsbuild/plugin-sass": "^1.4.0",

playwright.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ const baseUrl = process.env.PLAYWRIGHT_BASE_URL;
55

66
const config: PlaywrightTestConfig = {
77
globalSetup: './tests/playwrightSetup.ts',
8-
testDir: 'tests/suites',
8+
testDir: './tests/suites',
99
timeout: 2 * 60 * 1000,
1010
outputDir: './playwright-artifacts/test-results',
1111
reporter: [
1212
['html', {outputFolder: './playwright-artifacts/playwright-report'}],
1313
['json', {outputFile: './playwright-artifacts/test-results.json'}],
1414
],
15-
retries: 2,
15+
retries: process.env.CI ? 2 : 0,
1616
// If there is no url provided, playwright starts webServer with the app in dev mode
1717
webServer: baseUrl
1818
? undefined

0 commit comments

Comments
 (0)