mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-08-07 03:25:37 +00:00
18 lines
534 B
JavaScript
18 lines
534 B
JavaScript
import {findLineAndCheck, getExpectedDetailsDict} from '../testHelpers/StatusBarHelper';
|
|
|
|
it('opening', function () {
|
|
cy.visit(Cypress.env('testUrl'));
|
|
cy.get(`[data-cy="podsCountText"]`).trigger('mouseover');
|
|
});
|
|
|
|
[1, 2, 3].map(doItFunc);
|
|
|
|
function doItFunc(number) {
|
|
const podName = Cypress.env(`name${number}`);
|
|
const namespace = Cypress.env(`namespace${number}`);
|
|
|
|
it(`verifying the pod (${podName}, ${namespace})`, function () {
|
|
findLineAndCheck(getExpectedDetailsDict(podName, namespace));
|
|
});
|
|
}
|