mirror of
https://github.com/mattermost/focalboard.git
synced 2025-01-05 14:50:29 +02:00
Merge pull request #1849 from venarius/e2e/MM-T4284
[GH-1823] Added E2E test for MM-T4284
This commit is contained in:
commit
68ad063c26
@ -3,7 +3,8 @@
|
||||
"baseUrl": "http://localhost:8088",
|
||||
"testFiles": [
|
||||
"**/login*.ts",
|
||||
"**/create*.ts"
|
||||
"**/create*.ts",
|
||||
"**/manage*.ts"
|
||||
],
|
||||
"env": {
|
||||
"username": "test-user",
|
||||
|
24
webapp/cypress/integration/manageGroups.ts
Normal file
24
webapp/cypress/integration/manageGroups.ts
Normal file
@ -0,0 +1,24 @@
|
||||
// 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')
|
||||
})
|
||||
})
|
Loading…
Reference in New Issue
Block a user