Skip to content

fix(test): update test step to fix timing issue

Sidorela Uku requested to merge test-fix-loading into main

After a new submission is submitted the user is redirected to the dashboard, but it takes a few seconds for the DOM to update the title of the new manuscript. Thus few test cases where failing time after time because of missing title as it was not always updated with the same speed. Added an extra step to give little time for dashboard to update the title.

Added notes in the test files to explain the change.

On Test 001-docx_submission_spec.cy.js the second test case was removed because it's identical with assigning_editor_spec.cy.js.

Edited by Sidorela Uku

Merge request reports