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

Wait for data to load in flappy test #3040

Merged
merged 1 commit into from
Jul 2, 2024
Merged

Wait for data to load in flappy test #3040

merged 1 commit into from
Jul 2, 2024

Conversation

taylor-steve
Copy link
Contributor

Playing around with solutions for #3039.

Trying to see if we can get Capybara to wait for the thumbnail.

Definitely seems to be load dependent. The tests get less flaky locally the further I get into Friday afternoon...

@corylown
Copy link
Contributor

corylown commented Jul 1, 2024

FWIW these checks helped the tests pass for me locally. I had to add checks in a couple other places to get all the specs in that file to pass.

@corylown
Copy link
Contributor

corylown commented Jul 1, 2024

Here's a draft PR with a similar set of changes that got the tests passing for me locally: #3041

@taylor-steve
Copy link
Contributor Author

@corylown I added the additional changes from your PR plus one in uploaded_items_block_spec.rb that was sometimes an issue. Things seem to be passing reliably for me on CI and local.

@taylor-steve taylor-steve marked this pull request as ready for review July 2, 2024 19:04
@corylown corylown merged commit 87c47de into main Jul 2, 2024
7 checks passed
@corylown corylown deleted the 3039-flappy-tests branch July 2, 2024 20:15
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