Skip to content

Commit 4f60b28

Browse files
committed
GitHubActionsUpdate
1 parent 39abfc6 commit 4f60b28

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎.github/workflows/playwright.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ jobs:
4141

4242
# Step to run tests with qa as environment variable similarly we can define qa|dev|qaApi|devApi
4343
- name: Run tests
44-
run: npm run test:serial
44+
run: npm run test:serial:ci
4545
env:
46-
npm_config_ENV: "qa"
46+
ENV: "qa"
4747

4848
# Step to wait for the job to complete
4949
- name: Wait for job completion

‎package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"test:single": "cross-env ENV=%ENV% npx playwright test Login.test.ts --project=Chrome",
1212
"test:parallel": "cross-env ENV=%ENV% npx playwright test --grep @Smoke --project=Chrome",
1313
"test:serial": "cross-env ENV=%ENV% npx playwright test --grep @Smoke --workers=1 --project=Chrome",
14+
"test:serial:ci": "npx playwright test --grep @Smoke --workers=1 --project=Chrome",
1415
"test:ui": "cross-env ENV=%ENV% npx playwright test --grep @Smoke --ui",
1516
"test:api": "cross-env ENV=%ENV% npx playwright test --grep @API --workers=1 --project=Chrome",
1617
"test:db": "cross-env ENV=%ENV% npx playwright test DB.test.ts --project=DB",

0 commit comments

Comments
 (0)