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

chore: remove show receive amount in select provider feature gate #4859

Merged
merged 17 commits into from
Feb 14, 2024

Conversation

MuckT
Copy link
Collaborator

@MuckT MuckT commented Feb 7, 2024

Description

The show_receive_amount_in_select_provider feature gate has been rolled out to 100% since v1.62.0. This is to remove the code path for when that gate returned false.

Test plan

  • Tested locally on iOS
  • Unit Tests updated
  • E2E tests updated

Related issues

Backwards compatibility

Yes

Copy link

codecov bot commented Feb 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ee6e8fc) 85.20% compared to head (531d728) 85.18%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4859      +/-   ##
==========================================
- Coverage   85.20%   85.18%   -0.03%     
==========================================
  Files         712      712              
  Lines       29222    29186      -36     
  Branches     5093     5075      -18     
==========================================
- Hits        24900    24862      -38     
- Misses       4076     4078       +2     
  Partials      246      246              
Files Coverage Δ
src/fiatExchanges/FiatExchangeAmount.tsx 82.60% <ø> (-1.27%) ⬇️
src/fiatExchanges/PaymentMethodSection.tsx 96.15% <100.00%> (-1.26%) ⬇️
src/fiatExchanges/SelectProvider.tsx 90.68% <ø> (-0.18%) ⬇️
src/fiatExchanges/quotes/normalizeQuotes.ts 100.00% <ø> (ø)
src/statsig/constants.ts 100.00% <ø> (ø)
src/statsig/types.ts 100.00% <ø> (ø)

... and 1 file 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 ee6e8fc...531d728. Read the comment docs.

@MuckT MuckT marked this pull request as ready for review February 12, 2024 20:05
@@ -42,11 +42,6 @@ export default onRamps = () => {
device.getPlatform() === 'ios'
? cardProviders.label.split(' ')[0]
: cardProviders.text.split(' ')[0]
await element(by.id('Card/section')).tap()
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is removed as the section now starts as expanded.

await element(by.id('Card/section')).tap()
// Check that best rate is displayed first
await expect(
element(by.id('Card/provider-0').withDescendant(by.id('Card/bestRate')))
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Best Rate no longer displayed.

Copy link
Contributor

@jophish jophish left a comment

Choose a reason for hiding this comment

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

Looks like a couple of e2e tests for iOS are failing in e2e/src/AccountManagement.spec.js

src/fiatExchanges/FiatExchangeAmount.test.tsx Outdated Show resolved Hide resolved
@MuckT
Copy link
Collaborator Author

MuckT commented Feb 12, 2024

@jophish looks like the failing e2e test was due to a transient failure with our currency API.

@MuckT MuckT enabled auto-merge (squash) February 14, 2024 22:55
@MuckT MuckT merged commit 69af536 into main Feb 14, 2024
16 checks passed
@MuckT MuckT deleted the tomm/act-1076 branch February 14, 2024 23:42
shottah pushed a commit to zed-io/kolektivo that referenced this pull request May 15, 2024
…lora-inc#4859)

### Description

The `show_receive_amount_in_select_provider` feature gate has been
rolled out to 100% since v1.62.0. This is to remove the code path for
when that gate returned false.

### Test plan

- Tested locally on iOS
- Unit Tests updated
- E2E tests updated

### Related issues

- Fixes ACT-1076

### Backwards compatibility

Yes
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

3 participants