Open ragesoss opened 9 months ago
@ragesoss I have raised a PR to fix this. I fixed Error 1.1 & afterwards 1.2 stopped showing automatically. But i suppose error due to Capybara still persist
Yes, I opened a separate issue for the Capybara screenshot error.
This seems related to too-slow network requests that rely on external services. I think the right fix is probably to identify the slow request, and then stub it (with a new method in request_helpers.rb) so that the test can run quickly without actually hitting the slow API.
What is happening?
The 'Assigned Articles' feature spec fails intermittently on CI. For example: https://github.com/WikiEducationFoundation/WikiEduDashboard/actions/runs/7889907818/job/21530874633
Update the test to pass reliably, and describe what made the test unreliable if you can.
It may be useful to remove the
--headless=new
parameter from the Capybara config in rails_helper.rb so that you can watch the test run in the browser. (Be sure not to include that change to rails_helper in the PR.)