chore(e2e): optimize timeout to avoid lost report (#4798)

This commit is contained in:
Zeke Zhang 2024-07-02 14:55:27 +08:00 committed by GitHub
parent 6609870aed
commit d12763c6ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 3 deletions

View File

@ -134,7 +134,7 @@ jobs:
name: e2e-report-${{ github.job }} # 为了防止在多个任务中存在冲突
path: ./storage/playwright/tests-report-blob/blob-*/*
timeout-minutes: 60
timeout-minutes: 180
plugin-workflow:
name: plugin-workflow
@ -214,7 +214,7 @@ jobs:
name: e2e-report-${{ github.job }} # 为了防止在多个任务中存在冲突
path: ./storage/playwright/tests-report-blob/blob-*/*
timeout-minutes: 60
timeout-minutes: 180
plugin-data-source-main:
name: plugin-data-source-main
@ -294,7 +294,7 @@ jobs:
name: e2e-report-${{ github.job }} # 为了防止在多个任务中存在冲突
path: ./storage/playwright/tests-report-blob/blob-*/*
timeout-minutes: 60
timeout-minutes: 180
comment-on-pr:
name: Comment on PR

View File

@ -17,6 +17,8 @@ export const defineConfig = (config?: PlaywrightTestConfig) => {
timeout: 10 * 1000,
},
globalTimeout: 60 * 60 * 1000,
// Look for test files in the "tests" directory, relative to this configuration file.
testDir: 'packages',