1
0
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:
Saturnino Abril 2021-12-02 11:59:23 +08:00 committed by GitHub
commit 68ad063c26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 1 deletions

View File

@ -3,7 +3,8 @@
"baseUrl": "http://localhost:8088",
"testFiles": [
"**/login*.ts",
"**/create*.ts"
"**/create*.ts",
"**/manage*.ts"
],
"env": {
"username": "test-user",

View 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')
})
})