Skip to content
Snippets Groups Projects
Commit b095564e authored by Antoine Lambert's avatar Antoine Lambert
Browse files

cypress/origin-save: Fix a flaky test

parent 1fde4999
No related branches found
No related tags found
1 merge request!535cypress/origin-save: Fix a flaky test
......@@ -257,8 +257,10 @@ describe('Origin Save Tests', function() {
'recordsFiltered': 1,
'data': [saveRequestData]
};
cy.intercept('/save/requests/list/**', {body: saveRequestsListData});
cy.intercept('/save/requests/list/**', {body: saveRequestsListData})
.as('saveRequestsList');
cy.get('#swh-origin-save-requests-list-tab').click();
cy.wait('@saveRequestsList');
cy.get('tbody tr').then(rows => {
const firstRowCells = rows[0].cells;
const browseOriginUrl = `${this.Urls.browse_origin()}?origin_url=${encodeURIComponent(originUrl)}`;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment