diff --git a/.drone.yml b/.drone.yml index e4acea4a..efaeb805 100644 --- a/.drone.yml +++ b/.drone.yml @@ -95,6 +95,7 @@ steps: CYPRESS_TEST_SECRET: averyLongSecretToSe33dtheDB YARN_CACHE_FOLDER: .cache/yarn/ CYPRESS_CACHE_FOLDER: .cache/cypress/ + CYPRESS_DEFAULT_COMMAND_TIMEOUT: 10000 commands: - sed -i 's/localhost/api/g' public/index.html - yarn serve & npx wait-on http://localhost:8080 diff --git a/cypress/integration/list/list.spec.js b/cypress/integration/list/list.spec.js index 99cf178d..a27358be 100644 --- a/cypress/integration/list/list.spec.js +++ b/cypress/integration/list/list.spec.js @@ -25,12 +25,12 @@ describe('Lists', () => { .click() cy.url() .should('contain', '/namespaces/1/list') - cy.get('h3') + cy.get('.card-header-title') .contains('Create a new list') cy.get('input.input') .type('New List') cy.get('.button') - .contains('Add') + .contains('Create') .click() cy.wait(1000) // Waiting until the request to create the new list is done @@ -142,9 +142,8 @@ describe('Lists', () => { }) cy.visit('/lists/1/table') - cy.get('.table-view table.table a') + cy.get('.table-view table.table') .contains(tasks[0].title) - .first() .click() cy.url() @@ -364,7 +363,6 @@ describe('Lists', () => { cy.get('.kanban .bucket .tasks .task') .contains(tasks[0].title) - .first() .click() cy.url() diff --git a/cypress/integration/list/namespaces.spec.js b/cypress/integration/list/namespaces.spec.js index 6d3b33d3..9dba7b43 100644 --- a/cypress/integration/list/namespaces.spec.js +++ b/cypress/integration/list/namespaces.spec.js @@ -26,12 +26,12 @@ describe('Namepaces', () => { .click() cy.url() .should('contain', '/namespaces/new') - cy.get('h3') + cy.get('.card-header-title') .should('contain', 'Create a new namespace') cy.get('input.input') .type('New Namespace') cy.get('.button') - .contains('Add') + .contains('Create') .click() cy.url() .should('contain', '/namespaces') diff --git a/cypress/integration/sharing/team.spec.js b/cypress/integration/sharing/team.spec.js index 5f9b4804..0359af91 100644 --- a/cypress/integration/sharing/team.spec.js +++ b/cypress/integration/sharing/team.spec.js @@ -15,12 +15,12 @@ describe('Team', () => { .click() cy.url() .should('contain', '/teams/new') - cy.get('h3') + cy.get('.card-header-title') .contains('Create a new team') cy.get('input.input') .type(newTeamName) cy.get('.button') - .contains('Add') + .contains('Create') .click() cy.get('.fullpage') diff --git a/src/components/home/contentAuth.vue b/src/components/home/contentAuth.vue index b49c55ca..d9a784ce 100644 --- a/src/components/home/contentAuth.vue +++ b/src/components/home/contentAuth.vue @@ -12,7 +12,6 @@