Skip to content

Commit

Permalink
add schedule, extend expect timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
trossr32 committed Apr 28, 2024
1 parent 7362a1b commit dd3287e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,15 @@ on:
- 'src/**'
- 'tests/playwright/**'
- 'package.json'

schedule:
- cron: '0 6 1,11,21 * *'

workflow_dispatch:

jobs:
test:
timeout-minutes: 10
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 3 additions & 0 deletions tests/playwright/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ import { defineConfig, devices } from '@playwright/test';
*/
export default defineConfig({
testDir: './site.integrations.tests',
expect: {
timeout: 10000,
},
/* Run tests in files in parallel */
fullyParallel: true,
/* Fail the build on CI if you accidentally left test.only in the source code. */
Expand Down

0 comments on commit dd3287e

Please sign in to comment.