Skip to content

Commit

Permalink
Merge pull request #8730 from LedgerHQ/support/qaa-395_update_detox
Browse files Browse the repository at this point in the history
[Detox] Update Detox and Allure reporter
  • Loading branch information
abdurrahman-ledger authored Dec 18, 2024
2 parents 88f3190 + 5c08455 commit 202a351
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 42 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test-mobile-e2e-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,10 @@ jobs:
shardIndex: [1, 2, 3]
shardTotal: [3, 1]
exclude:
- shardIndex: ${{ (github.event.inputs.speculos_tests == 'false' || github.event_name == 'push') && '2' }}
- shardIndex: ${{ (github.event.inputs.speculos_tests == 'false' || github.event_name == 'push') && '3' }}
- shardTotal: ${{ (github.event.inputs.speculos_tests == 'false' || github.event_name == 'push') && '3' }}
- shardTotal: ${{ github.event.inputs.speculos_tests != 'false' && github.event_name != 'push' && '1' }}
- shardIndex: ${{ (github.event.inputs.speculos_tests == 'false' || github.event_name == 'push' || github.event_name == 'pull_request') && '2' }}
- shardIndex: ${{ (github.event.inputs.speculos_tests == 'false' || github.event_name == 'push' || github.event_name == 'pull_request') && '3' }}
- shardTotal: ${{ (github.event.inputs.speculos_tests == 'false' || github.event_name == 'push' || github.event_name == 'pull_request') && '3' }}
- shardTotal: ${{ github.event.inputs.speculos_tests != 'false' && github.event_name != 'push' && github.event_name != 'pull_request' && '1' }}

steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 3 additions & 0 deletions apps/ledger-live-mobile/e2e/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ const jestAllure2ReporterOptions = {
issue: "https://ledgerhq.atlassian.net/browse/{{name}}",
tms: "https://ledgerhq.atlassian.net/browse/{{name}}",
},
labels: {
host: process.env.RUNNER_NAME,
},
},
overwrite: false,
environment: async ({ $ }) => {
Expand Down
4 changes: 2 additions & 2 deletions apps/ledger-live-mobile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@
"babel-jest": "29.7.0",
"body-parser": "1.20.3",
"cors": "2.8.5",
"detox": "20.26.2",
"detox": "20.28.0",
"detox-allure2-adapter": "1.0.0-alpha.12",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-detox": "1.0.0",
Expand All @@ -289,7 +289,7 @@
"expect": "27.5.1",
"express": "4.19.2",
"jest": "29.7.0",
"jest-allure2-reporter": "2.0.0-beta.25",
"jest-allure2-reporter": "2.0.0",
"jest-circus": "29.7.0",
"jest-docblock": "29.7.0",
"jest-environment-node": "29.7.0",
Expand Down
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@
"[email protected]": "patches/[email protected]",
"[email protected]": "patches/[email protected]",
"[email protected]": "patches/[email protected]",
"detox@20.26.2": "patches/detox@20.26.2.patch",
"detox@20.28.0": "patches/detox@20.28.0.patch",
"[email protected]": "patches/[email protected]",
"[email protected]": "patches/[email protected]",
"@hashgraph/[email protected]": "patches/@[email protected]",
Expand All @@ -233,6 +233,11 @@
"dependencies": {
"tslib": "*"
}
},
"detox": {
"dependencies": {
"expect": "*"
}
}
}
},
Expand Down
File renamed without changes.
84 changes: 49 additions & 35 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 202a351

Please sign in to comment.