mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-16 09:36:17 +08:00
chore: add quick test command
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
"export": "pnpm --filter @pathfinder/app export",
|
||||
"start": "pnpm --filter @pathfinder/app start",
|
||||
"lint": "pnpm --filter @pathfinder/app lint",
|
||||
"test": "playwright test",
|
||||
"test:e2e": "playwright test",
|
||||
"test:unit": "jest"
|
||||
},
|
||||
|
||||
+3
-15
@@ -50,21 +50,9 @@ const config: PlaywrightTestConfig = {
|
||||
{
|
||||
name: 'chromium',
|
||||
use: {
|
||||
...devices['Desktop Chrome'],
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
name: 'firefox',
|
||||
use: {
|
||||
...devices['Desktop Firefox'],
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
name: 'webkit',
|
||||
use: {
|
||||
...devices['Desktop Safari'],
|
||||
browserName: 'chromium',
|
||||
viewport: { width: 1920, height: 1080 },
|
||||
actionTimeout: 5 * 1000,
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user