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 assertions made on the latest transaction #3573

Merged
merged 2 commits into from
Jul 27, 2023

Conversation

michalinacienciala
Copy link
Contributor

@michalinacienciala michalinacienciala commented Jul 27, 2023

There is a stage in the tests when we want to verify the attributes of the latest transaction. By mistake we did some of the checks on an objet that wasn't a latest transaction, but on an object of 'any' transaction. The assertion was failing if more than one object was detected.

Latest build: extension-builds-3573 (as of Thu, 27 Jul 2023 08:58:29 GMT).

There is a stage in the tests when we want to verify the attributes of the
latest transaction. By mistake we did some of the checks on an objet that wasn't
a latest transaction, but on an object of 'any' transaction. The assertion was
failing if more than one object was detected.
@michalinacienciala michalinacienciala requested a review from a team July 27, 2023 07:26
@michalinacienciala michalinacienciala self-assigned this Jul 27, 2023
Copy link
Contributor

@jagodarybacka jagodarybacka left a comment

Choose a reason for hiding this comment

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

LGTM 🚢

@jagodarybacka jagodarybacka merged commit 03b91f3 into main Jul 27, 2023
5 of 6 checks passed
@jagodarybacka jagodarybacka deleted the e2e-fix-latest-tx-check branch July 27, 2023 08:40
@kkosiorowska kkosiorowska mentioned this pull request Jul 28, 2023
jagodarybacka added a commit that referenced this pull request Aug 2, 2023
## What's Changed
* v0.43.3 by @hyphenized in
#3570
* Use JSON onboarding in e2e tests of transactions by
@michalinacienciala in #3559
* Refactor prices caching by @hyphenized in
#3526
* Fix assertions made on the latest transaction by @michalinacienciala
in #3573


**Full Changelog**:
v0.43.3...v0.44.0

Latest build:
[extension-builds-3577](https://github.com/tahowallet/extension/suites/14645396551/artifacts/830824018)
(as of Fri, 28 Jul 2023 14:43:48 GMT).
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.

2 participants