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 flaky tests #4125

Merged
merged 1 commit into from
Feb 25, 2024
Merged

Fix flaky tests #4125

merged 1 commit into from
Feb 25, 2024

Conversation

dorner
Copy link
Collaborator

@dorner dorner commented Feb 19, 2024

The main reason for the flaky tests seems to have been our use of select2. During initialization, select2 creates options and appends them to the select div. However, there is a point where the option exists but isn't appended. This causes Cuprite not to be able to select it because it has no parent node.

I added a select2 helper which should ease us in selecting these in the future. We can make use of it for any other flaky tests that crop up.

I also fixed an issue with the turbo_controller where it would crash on error because it's trying to access a property of something that doesn't exist.

@cielf cielf requested a review from awwaiid February 19, 2024 19:02
Copy link
Collaborator

@awwaiid awwaiid left a comment

Choose a reason for hiding this comment

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

Nice fix!

@awwaiid awwaiid merged commit 2915921 into main Feb 25, 2024
20 checks passed
@awwaiid awwaiid deleted the fix-flaky-tests branch February 25, 2024 14:23
Copy link
Contributor

@dorner: Your PR Fix flaky tests is part of today's Human Essentials production release: 2024.02.25.
Thank you very much for your contribution!

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