Skip to content

Commit

Permalink
[MS] Fix vague homepage tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ironicbay committed Jan 16, 2024
1 parent 94eea5d commit b273dab
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions client/tests/e2e/specs/test_home_page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,17 +128,13 @@ describe('Check organization list', () => {
cy.get('@error').should('not.be.visible');
});

it('Log into organization with command', () => {
it('Log into organization with command and log out', () => {
// Uses Cypress command to simplify the log in part
cy.login('Boby', 'P@ssw0rd.');
cy.contains('Log in');
});

it('Log out', () => {
cy.login('Boby', 'P@ssw0rd.');
cy.contains('My workspaces');
cy.get('#profile-button').click();
cy.get('.popover-viewport').contains('Log out').click();
cy.get('.ion-page').find('.ms-modal').find('ion-buttons').contains('Log out').click();
cy.contains('Your organizations');
});
});

0 comments on commit b273dab

Please sign in to comment.