fix: solve merge conflicts

Signed-off-by: Luka Trovic <luka@nextcloud.com>
This commit is contained in:
Luka Trovic
2022-04-20 09:05:35 +02:00
parent 37b3f03809
commit 23ae20efe7
5 changed files with 335 additions and 2692 deletions

View File

@@ -0,0 +1,45 @@
import { randHash } from '../utils'
const randUser = randHash()
describe('Deck dashboard', function() {
before(function () {
// Create a user
cy.nextcloudCreateUser(randUser, 'pass123')
})
beforeEach(function() {
cy.login(randUser, 'pass123')
})
it('Can show the right title on the dashboard', function() {
cy.get('.board-title h2')
.should('have.length', 1)
.first()
.should('have.text', 'Upcoming cards')
})
/* it('Can see the default "Personal Board" created for user by default', function () {
cy.get('.app-navigation button.app-navigation-toggle')
.click()
cy.get('.app-navigation__list .app-navigation-entry__children .app-navigation-entry')
.first()
.contains('Personal')
}) */
it('Can create a board', function () {
cy.get('#app-navigation-vue .app-navigation__list .app-navigation-entry')
.eq(1)
.find('a')
.first()
.click({force: true})
cy.get('.board-create form input[type=text]')
.type('Test', {force: true})
cy.get('.board-create form input[type=submit]')
.first()
.click({force: true})
})
})