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

cypress: Fix flaky test

parent d6a6c484
No related branches found
Tags v0.2.11
No related merge requests found
......@@ -92,6 +92,8 @@ describe('Browse requests list tests', function() {
cy.get('#swh-add-forge-user-filter').should('exist').should('be.checked');
cy.wait('@addForgeRequestsList');
// ensure datatable got rendered
cy.wait(100);
// check unfiltered user requests
cy.get('tbody tr').then(rows => {
......@@ -102,6 +104,8 @@ describe('Browse requests list tests', function() {
.uncheck({force: true});
cy.wait('@addForgeRequestsList');
// ensure datatable got rendered
cy.wait(100);
// Users now sees everything
cy.get('tbody tr').then(rows => {
......
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