mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-04 22:21:14 +00:00
Wait 4 seconds after filter submission #run_acceptance_tests
This commit is contained in:
parent
0b6d805ce1
commit
3c20ccfcec
@ -218,22 +218,24 @@ function checkFilter(filterDetails) {
|
|||||||
checkRightSideResponseBody();
|
checkRightSideResponseBody();
|
||||||
});
|
});
|
||||||
|
|
||||||
resizeToHugeMizu();
|
setTimeout(function () {
|
||||||
|
resizeToHugeMizu();
|
||||||
|
|
||||||
// checking only 'leftTextCheck' on all entries because the rest of the checks require more time
|
// checking only 'leftTextCheck' on all entries because the rest of the checks require more time
|
||||||
cy.get(`#list [id^=entry]`).each(elem => {
|
cy.get(`#list [id^=entry]`).each(elem => {
|
||||||
const element = elem[0];
|
const element = elem[0];
|
||||||
let entryId = getEntryId(element.id);
|
let entryId = getEntryId(element.id);
|
||||||
leftTextCheck(entryId, leftSidePath, leftSideExpectedText);
|
leftTextCheck(entryId, leftSidePath, leftSideExpectedText);
|
||||||
});
|
});
|
||||||
|
|
||||||
// making the other 3 checks on the first X entries (longer time for each check)
|
// making the other 3 checks on the first X entries (longer time for each check)
|
||||||
deeperCheck(leftSidePath, rightSidePath, name, leftSideExpectedText, rightSideExpectedText, entriesForDeeperCheck);
|
deeperCheck(leftSidePath, rightSidePath, name, leftSideExpectedText, rightSideExpectedText, entriesForDeeperCheck);
|
||||||
|
|
||||||
// reloading then waiting for the entries number to load
|
// reloading then waiting for the entries number to load
|
||||||
resizeToNormalMizu();
|
resizeToNormalMizu();
|
||||||
cy.reload();
|
cy.reload();
|
||||||
cy.get('#total-entries', {timeout: refreshWaitTimeout}).should('have.text', totalEntries);
|
cy.get('#total-entries', {timeout: refreshWaitTimeout}).should('have.text', totalEntries);
|
||||||
|
}, 4000);
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user