fix: resolve merge conflicts
Signed-off-by: Luka Trovic <luka@nextcloud.com>
This commit is contained in:
@@ -14,11 +14,16 @@ describe('Board', function () {
|
||||
|
||||
it('Can create a board', function () {
|
||||
let board = 'Test'
|
||||
|
||||
cy.intercept({
|
||||
method: 'POST',
|
||||
url: '/index.php/apps/deck/boards',
|
||||
}).as('createBoardRequest')
|
||||
|
||||
// Click "Add board"
|
||||
cy.get('.app-navigation button.app-navigation-toggle').click()
|
||||
cy.get('#app-navigation-vue .app-navigation__list .app-navigation-entry')
|
||||
.eq(1).find('a').first().click({force: true})
|
||||
.eq(3).find('a').first().click({force: true})
|
||||
|
||||
// Type the board title
|
||||
cy.get('.board-create form input[type=text]')
|
||||
@@ -27,8 +32,10 @@ describe('Board', function () {
|
||||
// Submit
|
||||
cy.get('.board-create form input[type=submit]')
|
||||
.first().click({force: true})
|
||||
|
||||
cy.wait('@createBoardRequest').its('response.statusCode').should('equal', 200)
|
||||
|
||||
cy.get('.app-navigation__list .app-navigation-entry__children .app-navigation-entry')
|
||||
.first().contains(board).should('be.visible')
|
||||
.contains(board).should('be.visible')
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user