Update cypress tests
This commit is contained in:
parent
a2ecbdd3b4
commit
ebe266a7b0
|
|
@ -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');
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue