Cypress test for hiding and showing the sidebar with active board added: (#659)
- active board is essential because it can cover the show button, - presence of sidebar heading is used to check if sidebar is visible.
This commit is contained in:
parent
6cd5003a7a
commit
ba69c8b083
1 changed files with 8 additions and 0 deletions
|
@ -31,6 +31,14 @@ describe('Create and delete board / card', () => {
|
|||
should('have.value', boardTitle);
|
||||
});
|
||||
|
||||
it('Can hide and show the sidebar with active board', () => {
|
||||
// Hide and show the sidebar
|
||||
cy.get('.Sidebar .heading ~ .Button').click();
|
||||
cy.get('.Sidebar .heading').should('not.exist');
|
||||
cy.get('.Sidebar .show-button').click();
|
||||
cy.get('.Sidebar .heading').should('exist');
|
||||
});
|
||||
|
||||
it('Can rename the board view', () => {
|
||||
// Rename board view
|
||||
const boardViewTitle = `Test board (${timestamp})`;
|
||||
|
|
Loading…
Reference in a new issue