Add currents reporter for Playwright tests

This adds currents reporter for Playwright tests

JIRA: HMS-5660
This commit is contained in:
Matej Marusak 2025-03-18 13:59:04 +01:00 committed by Klara Simickova
parent 2a3c9b8b7d
commit e2efa37d47
4 changed files with 1215 additions and 2 deletions

View file

@ -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

File diff suppressed because it is too large Load diff

View file

@ -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",

View file

@ -9,6 +9,7 @@ export default defineConfig({
reporter: [
['html'],
['list'],
['@currents/playwright'],
],
use: {
headless: true,