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: fix timeout errors in wallet details tests #209

Merged
merged 3 commits into from
Oct 13, 2022

Conversation

goga-m
Copy link
Contributor

@goga-m goga-m commented Oct 6, 2022

Summary

This is a small improvement on the wallet detail test to ignore unesserary awaits for wallets top section components (vote info) and only wait for transaction table to render in order to open the detail modal, as this is the goal of this test.

The timeouts are provably caused by multi re-renders of the child components of wallet details page (transactions table, wallet vote section) in combination with the modal opening and closing that are not performant and are causing delays. With this change we improve the time for assertion to compete with less awaits.

Checklist

  • My changes look good in both light AND dark mode
  • The change is not hardcoded to a single network, but has multi-asset in mind
  • I checked my changes for obvious issues, debug statements and commented code
  • Documentation (if necessary)
  • Tests (if necessary)
  • Ready to be merged

@vercel
Copy link

vercel bot commented Oct 6, 2022

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

Name Status Preview Updated
arkvault ✅ Ready (Inspect) Visit Preview Oct 13, 2022 at 10:14AM (UTC)

@ItsANameToo ItsANameToo merged commit 5f45243 into develop Oct 13, 2022
@ItsANameToo ItsANameToo deleted the test/wallet-transactions-flaky branch October 13, 2022 16:07
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