Update cypress tests

This commit is contained in:
Ramon Wenger 2021-10-25 16:08:52 +02:00
parent a2ecbdd3b4
commit ebe266a7b0
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ describe('New project', () => {
});
cy.visit('/portfolio');
cy.get('[data-cy=add-project-button]').click();
cy.get('[data-cy=create-project-button]').click();
cy.get('[data-cy=page-form-input-titel]').type('Some random title');
cy.get('[data-cy=page-form-input-beschreibung]').should('exist').should('be.empty');
cy.get('[data-cy=page-form-input-ziele]').should('not.exist');

View File

@ -26,7 +26,7 @@ describe('Read Only Portfolio', () => {
cy.visit('/portfolio');
cy.getByDataCy('project-list').should('exist');
cy.getByDataCy('add-project-button').should('exist');
cy.getByDataCy('create-project-button').should('exist');
cy.getByDataCy('project').should('have.length', 1);
cy.getByDataCy('project-actions').should('exist');
});