mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-25 12:35:15 +00:00
Add Playwright to scripts
This commit is contained in:
parent
e5de9e5d9e
commit
a50a1d8d81
|
@ -13,7 +13,8 @@
|
|||
"cy:open": "cypress open",
|
||||
"cy:run": "cypress run",
|
||||
"cy:open-ct": "cypress open-ct",
|
||||
"cy:run-ct": "cypress run --component"
|
||||
"cy:run-ct": "cypress run --component",
|
||||
"test:e2e":"yarn playwright test --project=chromium"
|
||||
},
|
||||
"dependencies": {
|
||||
"@noction/vue-draggable-grid": "1.9.16",
|
||||
|
|
|
@ -24,7 +24,7 @@ export default defineConfig({
|
|||
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
|
||||
use: {
|
||||
/* Base URL to use in actions like `await page.goto('/')`. */
|
||||
// baseURL: 'http://127.0.0.1:3000',
|
||||
baseURL: 'http://localhost:3000',
|
||||
|
||||
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
|
||||
trace: 'on-first-retry',
|
||||
|
@ -69,9 +69,9 @@ export default defineConfig({
|
|||
],
|
||||
|
||||
/* Run your local dev server before starting the tests */
|
||||
// webServer: {
|
||||
// command: 'npm run start',
|
||||
// url: 'http://127.0.0.1:3000',
|
||||
// reuseExistingServer: !process.env.CI,
|
||||
// },
|
||||
webServer: {
|
||||
command: 'npm run start',
|
||||
url: 'http://localhost:3000',
|
||||
reuseExistingServer: !process.env.CI,
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user