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

Fixes failing workbench modal test #1574

Merged
merged 3 commits into from
May 10, 2024

Conversation

davemfish
Copy link
Contributor

We are testing behavior when it is not the first time the app has run, but we were passing a prop indicating that it is the first run.

It's unfortunate that this test was passing sometimes, it should have always failed. Probably it's a race condition where we were doing the queryByText too soon. But there's not an obvious thing to wait for before doing that query.

Fixes #1569

Checklist

  • Updated HISTORY.rst and link to any relevant issue (if these changes are user-facing)
  • Updated the user's guide (if needed)
  • Tested the Workbench UI (if relevant)

@davemfish davemfish requested a review from emlys May 10, 2024 15:44
@davemfish
Copy link
Contributor Author

I'm not sure how to fix the RTD builds. It's an unrelated issue (#1575)

@emlys emlys merged commit 807a503 into natcap:main May 10, 2024
28 of 29 checks passed
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.

Workbench download modal test often fails on Github Actions
2 participants