feat: add verify process in change email progress (#4306)

Co-authored-by: Peng Xiao <pengxiao@outlook.com>
This commit is contained in:
Qi
2023-09-14 00:54:02 +08:00
committed by GitHub
parent 0b1ba6bf43
commit 0be142e4e2
19 changed files with 443 additions and 81 deletions

View File

@@ -6,7 +6,7 @@ import type {
const config: PlaywrightTestConfig = {
testDir: './e2e',
fullyParallel: !process.env.CI,
timeout: process.env.CI ? 50_000 : 30_000,
timeout: process.env.CI ? 120_000 : 30_000,
use: {
baseURL: 'http://localhost:8081/',
browserName:
@@ -14,10 +14,10 @@ const config: PlaywrightTestConfig = {
'chromium',
permissions: ['clipboard-read', 'clipboard-write'],
viewport: { width: 1440, height: 800 },
actionTimeout: 5 * 1000,
actionTimeout: 10 * 1000,
locale: 'en-US',
trace: 'on-first-retry',
video: 'on-first-retry',
trace: 'on',
video: 'on',
},
forbidOnly: !!process.env.CI,
workers: process.env.CI ? 1 : 4,
@@ -44,7 +44,7 @@ const config: PlaywrightTestConfig = {
env: {
DATABASE_URL:
process.env.DATABASE_URL ??
'postgresql://affine@localhost:5432/affine',
'postgresql://affine:affine@localhost:5432/affine',
NODE_ENV: 'development',
AFFINE_ENV: process.env.AFFINE_ENV ?? 'dev',
DEBUG: 'affine:*',