Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(e2e): update tests to run against tab navigator #5140

Merged
merged 1 commit into from
Mar 22, 2024
Merged

Conversation

satish-ravi
Copy link
Contributor

Description

Updates the following tests

  • AccountManagement.spec.js - updates to run against both variants
  • Pin.spec.js - updates to run against both variants
  • Verify.spec.js - updated to run against tab navigator (no need for drawer here since there's sufficient coverage against drawer settings)
  • WalletConnect.spec.js - still runs agains the drawer (hard to override statsig gate since app launched from deeplink in some cases) but reuses the navigateToSettings helper so its easier to update when tab is rolled out

Test plan

CI

Related issues

Backwards compatibility

N/A

Network scalability

N/A

@@ -9,6 +9,9 @@ describe('Account', () => {
})

describe('Support', Support)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not doing a describe.each here because not all tests need to run against both navs, see Support.js for tests running against both variants

Copy link

codecov bot commented Mar 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.71%. Comparing base (dde91eb) to head (4f3204e).
Report is 5 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #5140      +/-   ##
==========================================
+ Coverage   85.70%   85.71%   +0.01%     
==========================================
  Files         729      729              
  Lines       29833    29854      +21     
  Branches     5154     5160       +6     
==========================================
+ Hits        25568    25589      +21     
  Misses       4030     4030              
  Partials      235      235              

see 8 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dde91eb...4f3204e. Read the comment docs.

Copy link
Collaborator

@MuckT MuckT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great and also doesn't look like it added that much time to the e2e tests!

@satish-ravi satish-ravi added this pull request to the merge queue Mar 21, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 21, 2024
@MuckT MuckT added this pull request to the merge queue Mar 21, 2024
Merged via the queue into main with commit 14c7ffe Mar 22, 2024
16 checks passed
@MuckT MuckT deleted the satish/act-1113-3 branch March 22, 2024 00:18
shottah pushed a commit to zed-io/kolektivo that referenced this pull request May 15, 2024
### Description

Updates the following tests

- AccountManagement.spec.js - updates to run against both variants
- Pin.spec.js - updates to run against both variants
- Verify.spec.js - updated to run against tab navigator (no need for
drawer here since there's sufficient coverage against drawer settings)
- WalletConnect.spec.js - still runs agains the drawer (hard to override
statsig gate since app launched from deeplink in some cases) but reuses
the `navigateToSettings` helper so its easier to update when tab is
rolled out

### Test plan

CI

### Related issues

- Part of ACT-1113

### Backwards compatibility

N/A

### Network scalability

N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants