Fix frontend tests
This commit is contained in:
parent
52a4411f3e
commit
c5929d569e
|
|
@ -191,6 +191,7 @@ describe('Project Page', () => {
|
|||
|
||||
it('does not show button on mobile', () => {
|
||||
cy.viewport('iphone-8');
|
||||
cy.visit('/portfolio/groot');
|
||||
cy.getByDataCy('project-title').should('exist');
|
||||
cy.getByDataCy('add-project-entry').should('not.exist');
|
||||
});
|
||||
|
|
|
|||
|
|
@ -122,6 +122,7 @@ describe('Projects page', () => {
|
|||
operations,
|
||||
});
|
||||
cy.viewport('iphone-8');
|
||||
cy.visit('/portfolio');
|
||||
|
||||
cy.getByDataCy('page-title').should('exist');
|
||||
cy.getByDataCy('create-project-button').should('not.be.visible');
|
||||
|
|
|
|||
Loading…
Reference in New Issue