[EDR Workflows] Fix Osquery Metrics cypress (#166237)

This commit is contained in:
Tomasz Ciecierski 2023-09-12 15:21:44 +02:00 committed by GitHub
parent 2e38daf343
commit 46ac8b24a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@ export const triggerLoadData = () => {
cy.getBySel('infraWaffleTimeControlsAutoRefreshButton').should('exist');
cy.wait(1000);
cy.getBySel('infraWaffleTimeControlsAutoRefreshButton').click();
cy.getBySel('nodeContainer').eq(2).should('exist');
cy.getBySel('nodeContainer').last().should('exist');
cy.getBySel('infraWaffleTimeControlsStopRefreshingButton').click();
cy.getBySel('nodeContainer').eq(2).click();
cy.getBySel('nodeContainer').last().click();
};