mirror of
https://github.com/mattermost/focalboard.git
synced 2025-02-04 19:15:49 +02:00
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
@ -31,6 +31,14 @@ describe('Create and delete board / card', () => {
|
|||||||
should('have.value', boardTitle);
|
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', () => {
|
it('Can rename the board view', () => {
|
||||||
// Rename board view
|
// Rename board view
|
||||||
const boardViewTitle = `Test board (${timestamp})`;
|
const boardViewTitle = `Test board (${timestamp})`;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user