Skip to content

Commit

Permalink
Merge pull request #4178 from systeminit/wendy/fix-logout-test-again
Browse files Browse the repository at this point in the history
okay now the test should be fixed
  • Loading branch information
wendybujalski authored Jul 19, 2024
2 parents 70db947 + 8a66fab commit b8e1bf5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/web/cypress/e2e/authentication/logout.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Cypress._.times(SI_CYPRESS_MULTIPLIER, () => {
cy.contains('Create change set', { timeout: 10000 }).should('be.visible');
cy.get('.modal-close-button').should('exist').click();
cy.get('[aria-label="Profile"]').should('exist').click();
cy.get('#dropdown-menu-item-4').should('exist').should('be.visible').click({ force: true });
cy.get('.profile-dropdown-menu-logout').should('exist').should('be.visible').click({ force: true });

// There is a bug currently where you log out of the product & it just logs you out to the workspaces page of the UI in auth portal
cy.url().should("contain", AUTH_PORTAL_URL + '/workspaces');
Expand Down
1 change: 1 addition & 0 deletions app/web/src/components/layout/navbar/ProfileButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
label="Dev Dashboard"
/>
<DropdownMenuItem
class="profile-dropdown-menu-logout"
linkToNamedRoute="logout"
icon="logout"
label="Logout"
Expand Down

0 comments on commit b8e1bf5

Please sign in to comment.