Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
dtaylor113 committed Sep 10, 2020
1 parent f74a4b9 commit 54835de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frontend/packages/integration-tests-cypress/support/login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ Cypress.Commands.add('logout', () => {
return;
}
cy.task('log', ' Logging out');
cy.byTestID('user-dropdown').click();
cy.byTestID('user-dropdown')
.click()
.contains('Log out')
.click();
.click({ force: true });
cy.byLegacyTestID('login').should('be.visible');
});
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ describe('Auth test', () => {
cy.visit('');
cy.url().should('include', Cypress.env('appHost'));
masthead.username.shouldHaveText(KUBEADMIN_IDP);
cy.byTestID('global-notification-text').contains(
// cy.get('.co-global-notifications').contains(
cy.get('.co-global-notifications').contains(
// cy.byTestID('global-notification-text').contains(
'You are logged in as a temporary administrative user. Update the cluster OAuth configuration to allow others to log in.',
);

Expand Down

0 comments on commit 54835de

Please sign in to comment.