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

fix: removed screenshot swap checks in favour of text check and tidied up services page objects and tests #4085

Merged
merged 4 commits into from
Jul 24, 2023

Conversation

ggilchrist-ledger
Copy link
Contributor

@ggilchrist-ledger ggilchrist-ledger commented Jul 20, 2023

📝 Description

NOTE: this PR is primarily to remove the screenshot which was failing due to flaky amounts in the swap verify drawer. We're now just checking the text and that the amount matches up to the first 3 decimals which are consistent as far as we can see. This issue should be fixed as the user could be seeing the wrong amount in the verify screen. Also the functions that generate the formatted amounts should have unit tests given it is a large, complex function and it is used in many places in LLD and LLM.

  • Removed screenshot swap checks in favour of text check
  • Tidied up services page objects and tests

❓ Context

  • Impacted projects: ``
  • Linked resource(s): ``

✅ Checklist

  • Test coverage
  • Atomic delivery
  • No breaking changes

📸 Demo

🚀 Expectations to reach

Please make sure you follow these Important Steps.

Pull Requests must pass the CI and be internally validated in order to be merged.

@changeset-bot
Copy link

changeset-bot bot commented Jul 20, 2023

⚠️ No Changeset found

Latest commit: 8ed995a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Jul 20, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
live-common-tools ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 20, 2023 3:04pm
3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
ledger-live-github-bot ⬜️ Ignored (Inspect) Jul 20, 2023 3:04pm
native-ui-storybook ⬜️ Ignored (Inspect) Jul 20, 2023 3:04pm
react-ui-storybook ⬜️ Ignored (Inspect) Jul 20, 2023 3:04pm

chore: remove pause

fix: renamed analytics page property to path

chore: removing console logs
@ggilchrist-ledger
Copy link
Contributor Author

/full-lld-tests

@ggilchrist-ledger ggilchrist-ledger merged commit 27d522a into develop Jul 24, 2023
40 of 48 checks passed
@ggilchrist-ledger ggilchrist-ledger deleted the support/deflakify-swap-verify-test branch July 24, 2023 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
desktop Has changes in LLD
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants