Skip to content

Commit

Permalink
delete || true for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ervinpresta committed Dec 18, 2024
1 parent 9118367 commit 91ec645
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"scripts": {
"lint": "eslint . --ext .ts",
"build-shop": "cd ../e2e-env && ./shop-build.sh",
"test-shop-1.7.8.7": "npm run build-shop -- 1.7.8.7-7.4-fpm-alpine && npx playwright test back || true && mkdir -p allure-results-1.7.8.7 && for file in allure-results/*.json; do jq '.labels[] |= if .name == \"parentSuite\" then .value |= . + \"-1.7.8.7\" else . end | .testCaseId |= . + \"-1.7.8.7\" | .historyId |= . + \"-1.7.8.7\"' \"$file\" > \"$file.tmp\" && mv \"$file.tmp\" \"$file\"; done && cp -r allure-results/* allure-results-1.7.8.7/ && rm -rf allure-results/*",
"test-shop-1.6.1.24": "npm run build-shop -- 1.6.1.24-7.1-fpm-alpine && npx playwright test back || true && mkdir -p allure-results-1.6.1.24 && for file in allure-results/*.json; do jq '.labels[] |= if .name == \"parentSuite\" then .value |= . + \"-1.6.1.24\" else . end | .testCaseId |= . + \"-1.6.1.24\" | .historyId |= . + \"-1.6.1.24\"' \"$file\" > \"$file.tmp\" && mv \"$file.tmp\" \"$file\"; done && cp -r allure-results/* allure-results-1.6.1.24/ && rm -rf allure-results/*",
"test-shop-1.7.8.11": "npm run build-shop -- 1.7.8.11-7.4-fpm-alpine && npx playwright test back || true && mkdir -p allure-results-1.7.8.11 && for file in allure-results/*.json; do jq '.labels[] |= if .name == \"parentSuite\" then .value |= . + \"-1.7.8.11\" else . end | .testCaseId |= . + \"-1.7.8.11\" | .historyId |= . + \"-1.7.8.11\"' \"$file\" > \"$file.tmp\" && mv \"$file.tmp\" \"$file\"; done && cp -r allure-results/* allure-results-1.7.8.11/ && rm -rf allure-results/*",
"test-shop-1.7.8.8": "npm run build-shop -- 1.7.8.8-7.4-fpm-alpine && npx playwright test back || true && mkdir -p allure-results-1.7.8.8 && for file in allure-results/*.json; do jq '.labels[] |= if .name == \"parentSuite\" then .value |= . + \"-1.7.8.8\" else . end | .testCaseId |= . + \"-1.7.8.8\" | .historyId |= . + \"-1.7.8.8\"' \"$file\" > \"$file.tmp\" && mv \"$file.tmp\" \"$file\"; done && cp -r allure-results/* allure-results-1.7.8.8/ && rm -rf allure-results/*",
"test-shop-8.1.0-8.1": "npm run build-shop -- 8.1.0-8.1-fpm-alpine && npx playwright test back || true && mkdir -p allure-results-8.1.0-8.1 && for file in allure-results/*.json; do jq '.labels[] |= if .name == \"parentSuite\" then .value |= . + \"-8.1.0-8.1\" else . end | .testCaseId |= . + \"-8.1.0-8.1\" | .historyId |= . + \"-8.1.0-8.1\"' \"$file\" > \"$file.tmp\" && mv \"$file.tmp\" \"$file\"; done && cp -r allure-results/* allure-results-8.1.0-8.1/ && rm -rf allure-results/*",
"test-shop-8.1.1": "npm run build-shop -- 8.1.1-8.1-fpm-alpine && npx playwright test back || true && mkdir -p allure-results-8.1.1 && for file in allure-results/*.json; do jq '.labels[] |= if .name == \"parentSuite\" then .value |= . + \"-8.1.1\" else . end | .testCaseId |= . + \"-8.1.1\" | .historyId |= . + \"-8.1.1\"' \"$file\" > \"$file.tmp\" && mv \"$file.tmp\" \"$file\"; done && cp -r allure-results/* allure-results-8.1.1/ && rm -rf allure-results/*",
"test-shop-8.1.5": "npm run build-shop -- 8.1.5-8.1-fpm-alpine && npx playwright test back || true && mkdir -p allure-results-8.1.5 && for file in allure-results/*.json; do jq '.labels[] |= if .name == \"parentSuite\" then .value |= . + \"-8.1.5\" else . end | .testCaseId |= . + \"-8.1.5\" | .historyId |= . + \"-8.1.5\"' \"$file\" > \"$file.tmp\" && mv \"$file.tmp\" \"$file\"; done && cp -r allure-results/* allure-results-8.1.5/ && rm -rf allure-results/*",
"test-shop-nightly": "npm run build-shop -- nightly && npx playwright test || true && mkdir -p allure-results-nightly && for file in allure-results/*.json; do jq '.labels[] |= if .name == \"parentSuite\" then .value |= . + \"-nightly\" else . end | .testCaseId |= . + \"-nightly\" | .historyId |= . + \"-nightly\"' \"$file\" > \"$file.tmp\" && mv \"$file.tmp\" \"$file\"; done && cp -r allure-results/* allure-results-nightly/ && rm -rf allure-results/*",
"test-shop-1.7.8.7": "npm run build-shop -- 1.7.8.7-7.4-fpm-alpine && npx playwright test back && mkdir -p allure-results-1.7.8.7 && for file in allure-results/*.json; do jq '.labels[] |= if .name == \"parentSuite\" then .value |= . + \"-1.7.8.7\" else . end | .testCaseId |= . + \"-1.7.8.7\" | .historyId |= . + \"-1.7.8.7\"' \"$file\" > \"$file.tmp\" && mv \"$file.tmp\" \"$file\"; done && cp -r allure-results/* allure-results-1.7.8.7/ && rm -rf allure-results/*",
"test-shop-1.6.1.24": "npm run build-shop -- 1.6.1.24-7.1-fpm-alpine && npx playwright test back && mkdir -p allure-results-1.6.1.24 && for file in allure-results/*.json; do jq '.labels[] |= if .name == \"parentSuite\" then .value |= . + \"-1.6.1.24\" else . end | .testCaseId |= . + \"-1.6.1.24\" | .historyId |= . + \"-1.6.1.24\"' \"$file\" > \"$file.tmp\" && mv \"$file.tmp\" \"$file\"; done && cp -r allure-results/* allure-results-1.6.1.24/ && rm -rf allure-results/*",
"test-shop-1.7.8.11": "npm run build-shop -- 1.7.8.11-7.4-fpm-alpine && npx playwright test back && mkdir -p allure-results-1.7.8.11 && for file in allure-results/*.json; do jq '.labels[] |= if .name == \"parentSuite\" then .value |= . + \"-1.7.8.11\" else . end | .testCaseId |= . + \"-1.7.8.11\" | .historyId |= . + \"-1.7.8.11\"' \"$file\" > \"$file.tmp\" && mv \"$file.tmp\" \"$file\"; done && cp -r allure-results/* allure-results-1.7.8.11/ && rm -rf allure-results/*",
"test-shop-1.7.8.8": "npm run build-shop -- 1.7.8.8-7.4-fpm-alpine && npx playwright test back && mkdir -p allure-results-1.7.8.8 && for file in allure-results/*.json; do jq '.labels[] |= if .name == \"parentSuite\" then .value |= . + \"-1.7.8.8\" else . end | .testCaseId |= . + \"-1.7.8.8\" | .historyId |= . + \"-1.7.8.8\"' \"$file\" > \"$file.tmp\" && mv \"$file.tmp\" \"$file\"; done && cp -r allure-results/* allure-results-1.7.8.8/ && rm -rf allure-results/*",
"test-shop-8.1.0-8.1": "npm run build-shop -- 8.1.0-8.1-fpm-alpine && npx playwright test back && mkdir -p allure-results-8.1.0-8.1 && for file in allure-results/*.json; do jq '.labels[] |= if .name == \"parentSuite\" then .value |= . + \"-8.1.0-8.1\" else . end | .testCaseId |= . + \"-8.1.0-8.1\" | .historyId |= . + \"-8.1.0-8.1\"' \"$file\" > \"$file.tmp\" && mv \"$file.tmp\" \"$file\"; done && cp -r allure-results/* allure-results-8.1.0-8.1/ && rm -rf allure-results/*",
"test-shop-8.1.1": "npm run build-shop -- 8.1.1-8.1-fpm-alpine && npx playwright test back && mkdir -p allure-results-8.1.1 && for file in allure-results/*.json; do jq '.labels[] |= if .name == \"parentSuite\" then .value |= . + \"-8.1.1\" else . end | .testCaseId |= . + \"-8.1.1\" | .historyId |= . + \"-8.1.1\"' \"$file\" > \"$file.tmp\" && mv \"$file.tmp\" \"$file\"; done && cp -r allure-results/* allure-results-8.1.1/ && rm -rf allure-results/*",
"test-shop-8.1.5": "npm run build-shop -- 8.1.5-8.1-fpm-alpine && npx playwright test back && mkdir -p allure-results-8.1.5 && for file in allure-results/*.json; do jq '.labels[] |= if .name == \"parentSuite\" then .value |= . + \"-8.1.5\" else . end | .testCaseId |= . + \"-8.1.5\" | .historyId |= . + \"-8.1.5\"' \"$file\" > \"$file.tmp\" && mv \"$file.tmp\" \"$file\"; done && cp -r allure-results/* allure-results-8.1.5/ && rm -rf allure-results/*",
"test-shop-nightly": "npm run build-shop -- nightly && npx playwright test && mkdir -p allure-results-nightly && for file in allure-results/*.json; do jq '.labels[] |= if .name == \"parentSuite\" then .value |= . + \"-nightly\" else . end | .testCaseId |= . + \"-nightly\" | .historyId |= . + \"-nightly\"' \"$file\" > \"$file.tmp\" && mv \"$file.tmp\" \"$file\"; done && cp -r allure-results/* allure-results-nightly/ && rm -rf allure-results/*",
"merge-allure-results": "rm -rf allure-results && mkdir allure-results && for dir in allure-results-*; do cp -r \"$dir\"/* allure-results/; done && rm -rf allure-results-*",
"test-all-version": "npx npm-run-all --serial test-shop-1.7.8.7 test-shop-1.6.1.24 test-shop-1.7.8.11 test-shop-1.7.8.8 test-shop-8.1.0-8.1 test-shop-8.1.1 test-shop-8.1.5 test-shop-nightly && npm run merge-allure-results",
"generate-allure-report": "allure generate allure-results --clean -o allure-report",
Expand Down Expand Up @@ -41,4 +41,4 @@
"tsconfig-paths": "^4.2.0",
"typescript": "^5.1.6"
}
}
}

0 comments on commit 91ec645

Please sign in to comment.