-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
4243 - E2E: local development command and config (#4244)
* 4243 - Prefix tests with number * 4243 - Playwright: Add local testing command and config * 4243 - Remove unnecessary comments
- Loading branch information
Showing
6 changed files
with
30 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { PlaywrightTestConfig } from '@playwright/test' | ||
|
||
import baseConfig from './jest-playwright.config' | ||
|
||
const config: PlaywrightTestConfig = { | ||
...baseConfig, | ||
fullyParallel: true, | ||
retries: 0, | ||
use: { | ||
...baseConfig.use, | ||
headless: false, | ||
baseURL: 'http://localhost:9000', | ||
launchOptions: { | ||
slowMo: 100, | ||
}, | ||
trace: 'on-first-retry', | ||
}, | ||
} | ||
|
||
export default config |
11 changes: 1 addition & 10 deletions
11
src/test/e2e/tests/example.spec.ts → src/test/e2e/tests/01-example.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
src/test/e2e/tests/smoke.spec.ts → src/test/e2e/tests/02-smoke.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
src/test/e2e/tests/login.spec.ts → src/test/e2e/tests/03-login.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters