mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-08-25 11:59:35 +00:00
26 lines
662 B
JavaScript
26 lines
662 B
JavaScript
import {
|
|
isValueExistsInElement,
|
|
resizeToHugeMizu,
|
|
} from "../testHelpers/TrafficHelper";
|
|
|
|
it('Loading Mizu', function () {
|
|
cy.visit(Cypress.env('testUrl'));
|
|
});
|
|
|
|
checkEntries();
|
|
|
|
function checkEntries() {
|
|
it('checking all entries', function () {
|
|
cy.get('#entries-length').should('not.have.text', '0').then(() => {
|
|
resizeToHugeMizu();
|
|
|
|
cy.get('#list [id^=entry]').each(entryElement => {
|
|
entryElement.click();
|
|
cy.get('#tbody-Headers').should('be.visible');
|
|
isValueExistsInElement(false, 'Ignored-User-Agent', '#tbody-Headers');
|
|
});
|
|
});
|
|
});
|
|
}
|
|
|