Skip to content

Commit

Permalink
chore(acceptance-testing): Upgrade acceptance-testing to v5 (#1189)
Browse files Browse the repository at this point in the history
Co-authored-by: Pedro Ladaria <[email protected]>
  • Loading branch information
pladaria and Pedro Ladaria authored Jul 30, 2024
1 parent 921eacf commit 7e2135a
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion jest-puppeteer.config.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const config = require('@telefonica/acceptance-testing/jest-puppeteer-config');
const config = require('@telefonica/acceptance-testing/jest-puppeteer.config');
module.exports = config;
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
"acceptanceTests": {
"devServer": {
"command": "yarn storybook-for-acceptance-tests",
"host": "0.0.0.0",
"port": 6006
},
"ciServer": {
Expand Down Expand Up @@ -80,7 +79,7 @@
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.95",
"@swc/jest": "^0.2.29",
"@telefonica/acceptance-testing": "4.0.0",
"@telefonica/acceptance-testing": "5.0.0",
"@telefonica/eslint-config": "^2.1.1",
"@telefonica/prettier-config": "^2.0.0",
"@testing-library/dom": "^10.2.0",
Expand Down
1 change: 1 addition & 0 deletions scripts/sonarqube-scan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ echo "Running SonarQube analysis for mistica-web..."
docker run \
--rm \
-e SONAR_TOKEN="${SONAR_TOKEN}" \
-e ACCEPTANCE_TESTING_COLLECT_COVERAGE="1" \
-e SONAR_PROJECT_VERSION="${SONAR_PROJECT_VERSION}" \
-v "${PWD}:/usr/src" \
sonarsource/sonar-scanner-cli
13 changes: 6 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5415,24 +5415,23 @@ __metadata:
languageName: node
linkType: hard

"@telefonica/acceptance-testing@npm:4.0.0":
version: 4.0.0
resolution: "@telefonica/acceptance-testing@npm:4.0.0"
"@telefonica/acceptance-testing@npm:5.0.0":
version: 5.0.0
resolution: "@telefonica/acceptance-testing@npm:5.0.0"
dependencies:
"@types/jest-image-snapshot": ^4.3.1
find-root: ^1.1.0
glob-to-regexp: ^0.4.1
istanbul-lib-coverage: ^3.2.2
jest-image-snapshot: ^4.5.1
node-fetch: ^2.6.5
pptr-testing-library: ^0.6.5
puppeteer: ^10.4.0
peerDependencies:
jest: ">=26"
jest-environment-puppeteer: ">=4"
bin:
test-acceptance: bin/test-acceptance.js
checksum: 97615caf81716e8670ad4c18e73aa3de75d767a4a7f728dd7b2af254ae876d64bf930875ffef1b4bb6808254b7c2e2ee94cd6cc3271f291419a7b23e93e00565
checksum: 8799d190b22e67cdb1ad1798a6ce68a0eab39a7134a317676c1cf724a0e36a862ec39dd251cefca4df51850c73780c988dcd6c0365ca859268bea308e018b8f6
languageName: node
linkType: hard

Expand Down Expand Up @@ -5512,7 +5511,7 @@ __metadata:
"@swc/core": ^1.3.95
"@swc/jest": ^0.2.29
"@tef-novum/webview-bridge": ^3.27.0
"@telefonica/acceptance-testing": 4.0.0
"@telefonica/acceptance-testing": 5.0.0
"@telefonica/eslint-config": ^2.1.1
"@telefonica/libphonenumber": ^2.9.0
"@telefonica/prettier-config": ^2.0.0
Expand Down Expand Up @@ -16554,7 +16553,7 @@ __metadata:
languageName: node
linkType: hard

"node-fetch@npm:^2.0.0, node-fetch@npm:^2.6.5, node-fetch@npm:^2.6.7":
"node-fetch@npm:^2.0.0, node-fetch@npm:^2.6.7":
version: 2.7.0
resolution: "node-fetch@npm:2.7.0"
dependencies:
Expand Down

0 comments on commit 7e2135a

Please sign in to comment.