[Automation] Pages can get stuck on loading
Severity: Medium
Environment: Local / CI
Severity: Medium
Steps to reproduce:
- Run the whole test suite OR the manuscripts_page_spec.js file
- Observe the app & the results
Expected results: Tests should run successfully
Actual results: Some pages fail to load within the time limit (e.g. manuscripts page / submission form page). The initial limit was 4 seconds, which we increased to 10 & tests are still failing (page gets stuck on loading page)
Note: - this happens most frequently on CI pipelines; locally, it only happens if the laptop's resources are all used at the same time (i.e. if there's a spike)