You've already forked focalboard
mirror of
https://github.com/mattermost/focalboard.git
synced 2025-07-15 23:54:29 +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:
@ -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})`;
|
||||||
|
Reference in New Issue
Block a user