chore: [date-picker] config playwright timezoneId (#1253)

This commit is contained in:
Kagol 2024-01-04 14:58:54 +08:00 committed by GitHub
parent 1e0a83e6f0
commit 48a0df2980
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 10 deletions

View File

@ -6,9 +6,6 @@ concurrency:
group: ${{ github.workflow }}-${{ github.sha }}
cancel-in-progress: true
env:
TZ: Asia/Shanghai
jobs:
dispatch-test-all:
name: Dispatch All Test

View File

@ -13,9 +13,6 @@ concurrency:
group: ${{ github.workflow }}-${{ github.sha }}
cancel-in-progress: true
env:
TZ: Asia/Shanghai
jobs:
dispatch-tests:
name: Dispatch Tests

View File

@ -8,9 +8,6 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
cancel-in-progress: true
env:
TZ: Asia/Shanghai
jobs:
parse-components:
name: Parse Affected Components

View File

@ -40,7 +40,10 @@ const Config = ({ testDir, baseURL, storageState }) => ({
headless: !!process.env.CI,
ignoreHTTPSErrors: true,
screenshot: 'only-on-failure',
permissions: ['clipboard-read']
permissions: ['clipboard-read'],
/* Emulates the user timezone */
timezoneId: 'Asia/Shanghai'
},
projects: [