Skip to content

Commit

Permalink
CONSOLE-3740: follow-on fixes and cleanup for Cypress upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
rhamilto committed Oct 13, 2023
1 parent 1083040 commit fbd8642
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@ describe('Masthead', () => {
cy.byTestID('user-dropdown').click();
cy.byTestID('log-out').should('be.visible');
cy.byTestID('log-out').click({ force: true });
Cypress.session.clearAllSavedSessions();
cy.visit('/');
if (!isLocalDevEnvironment) {
cy.get('[data-test-id="login"]').should('be.visible');
}
});
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ describe('PollConsoleUpdates Test', () => {
cy.wait(`@${CHECK_UPDATES_ALIAS}`, WAIT_OPTIONS);
cy.intercept(PLUGIN_MANIFEST_URL2, { forceNetworkError: true }).as(CHECK_MANIFEST_ALIAS2);
cy.wait(`@${CHECK_MANIFEST_ALIAS2}`, WAIT_OPTIONS);
// cy.wait(`@${CHECK_MANIFEST_ALIAS2}`, WAIT_OPTIONS).should('have.property', 'error');
cy.wait(`@${CHECK_MANIFEST_ALIAS2}`, WAIT_OPTIONS).should('have.property', 'error');
cy.byTestID('loading-indicator').should('not.exist');
cy.get(refreshWebConsoleLink).should('not.exist');
cy.intercept(PLUGIN_MANIFEST_URL2, PLUGIN_MANIFEST_DEFAULT2).as(CHECK_MANIFEST_ALIAS2);
Expand Down

0 comments on commit fbd8642

Please sign in to comment.