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

Draft Testing PR Test/increase capybara wait for asynchronous process #2968

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

Conversation

lagoan
Copy link
Contributor

@lagoan lagoan commented Sep 13, 2022

Context

This is only a test PR to review the flapping errors coming up from uploading files.

Tests are failing due to items taking too long to upload and the test suite drops them after 5 seconds. By increasing the amount of time we wait for the change we should stop seeing these errors.

What's New

This test PR should only increase the value Capybara.default_max_wait_time to see how it affects the tests results.

Remember to request a reviewer when you submit!

Capybara is timing out on tests when uploading files. The value for
`default_max_wait_time` had been previously increased to 5 but that
continues to make tests fail. Increasing this time will hopefully
decrease failed tests due to latency in asynchronous processes.
@lagoan lagoan changed the title Draft PR Test/increase capybara wait for asynchronous process Draft Testing PR Test/increase capybara wait for asynchronous process Sep 13, 2022
The tests that are failing have to do with files being uploaded and the
action timing out. Instead of increasing the wait time to all
asynchronous process, we will localize the increased time to this
action.
After uploading the files, we also need to wait more so that the
application can save the entity and continue with the process
Copy link
Member

@pgwillia pgwillia left a comment

Choose a reason for hiding this comment

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

Let's try it.

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.

2 participants