mirror of
https://github.com/mattermost/focalboard.git
synced 2024-12-24 13:43:12 +02:00
25 lines
816 B
TypeScript
25 lines
816 B
TypeScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
describe('Manage groups', () => {
|
|
beforeEach(() => {
|
|
cy.apiInitServer()
|
|
localStorage.setItem('welcomePageViewed', 'true')
|
|
})
|
|
|
|
it('MM-T4284 Adding a group', () => {
|
|
cy.visit('/')
|
|
cy.contains('+ Add board').click({force: true})
|
|
cy.contains('Empty board').click({force: true})
|
|
|
|
cy.contains('+ Add a group').click({force: true})
|
|
cy.get('.KanbanColumnHeader .Editable[value=\'New group\']').should('exist')
|
|
|
|
cy.get('.KanbanColumnHeader .Editable[value=\'New group\']').
|
|
clear().
|
|
type('Group 1').
|
|
blur()
|
|
cy.get('.KanbanColumnHeader .Editable[value=\'Group 1\']').should('exist')
|
|
})
|
|
})
|