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 Modal Export Tests #2660

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

mstrofbass
Copy link
Collaborator

@mstrofbass mstrofbass commented Nov 29, 2024

With the updates to fix the thoughtspace replication, these just needed to run the timers appropriately. We might be able to combine the sequential dispatches but I don't want to increase complexity until we confirm there aren't any timing issues.

If we encounter any intermittent errors in these tests then we might need to run the timers forward between the calls to dispatch.

In addition to the main fix, this (1) uses data-testid instead of finding the element by text and (2) removes an extraneous space from a span that broke the tests.

Closes #2130

Copy link
Contributor

@raineorshine raineorshine left a comment

Choose a reason for hiding this comment

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

Looks good!

@mstrofbass mstrofbass marked this pull request as ready for review December 1, 2024 23:52
@mstrofbass
Copy link
Collaborator Author

This is ready to merge whenever.

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.

Fix ModalExport tests
2 participants