Skip to content

Commit 7783764

Browse files
committed
Fixed exit code
1 parent 76c8d98 commit 7783764

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/e2e-playwright.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
id: playwright-cache
4141
with:
4242
path: ~/.cache/ms-playwright
43-
key: ${{ runner.os }}-playwright-${{ hashFiles('**/package-lock.json') }}
43+
key: ${{ runner.os }}-playwright-${{ hashFiles('./e2e-playwright/package-lock.json') }}
4444

4545

4646
- name: Install Playwright browsers

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,5 @@ node_modules/
4949
out/
5050
node_modules/
5151
.gradle
52+
@rerun.txt
53+
test-results

e2e-playwright/config/cucumber.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ module.exports = {
1818
"ts-node/register"
1919
],
2020
format: [
21-
"progress-bar",
2221
"html:test-results/cucumber-report.html",
2322
"json:test-results/cucumber-report.json",
2423
"rerun:@rerun.txt"
@@ -40,7 +39,6 @@ module.exports = {
4039
"ts-node/register"
4140
],
4241
format: [
43-
"progress-bar",
4442
"html:test-results/cucumber-report.html",
4543
"json:test-results/cucumber-report.json",
4644
"rerun:@rerun.txt"

e2e-playwright/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

e2e-playwright/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"scripts": {
66
"debug": "cross-env ENV=stage PWDEBUG=1 DEBUG=pw:api cucumber-js --config=config/cucumber.js",
77
"pretest": "npx ts-node src/helper/report/init.ts",
8-
"test": "cross-env ENV=prod FORCE_COLOR=0 cucumber-js --config=config/cucumber.js || true",
9-
"test:stage": "cross-env ENV=stage FORCE_COLOR=0 cucumber-js --config=config/cucumber.js || true",
8+
"test": "cross-env ENV=prod FORCE_COLOR=0 cucumber-js --config=config/cucumber.js",
9+
"test:stage": "cross-env ENV=stage FORCE_COLOR=0 cucumber-js --config=config/cucumber.js",
1010
"posttest": "npx ts-node src/helper/report/report.ts",
1111
"test:failed": "cucumber-js -p rerun @rerun.txt"
1212
},

0 commit comments

Comments
 (0)