Add currents reporter for Playwright tests
This adds currents reporter for Playwright tests JIRA: HMS-5660
This commit is contained in:
parent
2a3c9b8b7d
commit
e2efa37d47
4 changed files with 1215 additions and 2 deletions
2
.github/workflows/playwright.yml
vendored
2
.github/workflows/playwright.yml
vendored
|
|
@ -54,7 +54,7 @@ jobs:
|
|||
- name: Run front-end Playwright tests
|
||||
env:
|
||||
BASE_URL: https://stage.foo.redhat.com:1337
|
||||
run: npx playwright test
|
||||
run: CURRENTS_PROJECT_ID=hIU6nO CURRENTS_RECORD_KEY=$CURRENTS_RECORD_KEY npx playwright test
|
||||
|
||||
- name: Store front-end Test report
|
||||
uses: actions/upload-artifact@v4
|
||||
|
|
|
|||
1213
package-lock.json
generated
1213
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -35,6 +35,7 @@
|
|||
"@babel/preset-typescript": "7.26.0",
|
||||
"@patternfly/react-icons": "5.4.2",
|
||||
"@playwright/test": "1.50.1",
|
||||
"@currents/playwright": "1.9.4",
|
||||
"@redhat-cloud-services/eslint-config-redhat-cloud-services": "2.0.12",
|
||||
"@redhat-cloud-services/frontend-components-config": "6.3.8",
|
||||
"@redhat-cloud-services/tsc-transform-imports": "1.0.23",
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ export default defineConfig({
|
|||
reporter: [
|
||||
['html'],
|
||||
['list'],
|
||||
['@currents/playwright'],
|
||||
],
|
||||
use: {
|
||||
headless: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue