Skip to content

Commit dd3287e

Browse files
committed
add schedule, extend expect timeout
1 parent 7362a1b commit dd3287e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/playwright.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,15 @@ on:
1010
- 'src/**'
1111
- 'tests/playwright/**'
1212
- 'package.json'
13+
14+
schedule:
15+
- cron: '0 6 1,11,21 * *'
1316

1417
workflow_dispatch:
1518

1619
jobs:
1720
test:
18-
timeout-minutes: 10
21+
timeout-minutes: 15
1922
runs-on: ubuntu-latest
2023
steps:
2124
- uses: actions/checkout@v4

tests/playwright/playwright.config.ts

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ import { defineConfig, devices } from '@playwright/test';
1111
*/
1212
export default defineConfig({
1313
testDir: './site.integrations.tests',
14+
expect: {
15+
timeout: 10000,
16+
},
1417
/* Run tests in files in parallel */
1518
fullyParallel: true,
1619
/* Fail the build on CI if you accidentally left test.only in the source code. */

0 commit comments

Comments
 (0)