1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-07-15 23:54:29 +02:00

Merge pull request #1940 from nishantwrp/mm-t4285

[GH-1825]: Add e2e tests for adding a group color
This commit is contained in:
Saturnino Abril
2021-12-09 09:00:38 +08:00
committed by GitHub

View File

@ -21,4 +21,30 @@ describe('Manage groups', () => {
blur()
cy.get('.KanbanColumnHeader .Editable[value=\'Group 1\']').should('exist')
})
it('MM-T4285 Adding group color', () => {
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').last().within(() => {
cy.get('.icon-dots-horizontal').click({force: true})
cy.get('.menu-options').should('exist').within(() => {
cy.contains('Hide').should('exist')
cy.contains('Delete').should('exist')
// Some colours
cy.contains('Brown').should('exist')
cy.contains('Gray').should('exist')
cy.contains('Orange').should('exist')
// Click on green
cy.contains('Green').should('exist').click({force: true})
})
cy.get('.Label.propColorGreen').should('exist')
})
})
})