fix: resolve merge conflicts

Signed-off-by: Luka Trovic <luka@nextcloud.com>
This commit is contained in:
Luka Trovic
2022-05-09 12:11:17 +01:00
parent 7e32a16969
commit 6518cd464c
7 changed files with 37 additions and 23 deletions

View File

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