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