Skip to content

Commit

Permalink
Add check that field was actually createsd
Browse files Browse the repository at this point in the history
  • Loading branch information
mika-robots committed Oct 8, 2023
1 parent 892a29d commit 5eb8ab3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/end-to-end/cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,8 @@ Cypress.Commands.add('createFirstLocation', () => {

cy.get('[data-cy=areaDetails-name]').should('exist').type('First Field');
cy.get('[data-cy=createField-save]').should('exist').and('not.be.disabled').click();

cy.get('[data-cy=snackBar').should('exist').and('be.visible');
});

Cypress.Commands.add('acceptSlideMenuSpotlights', (crop_menu_name) => {
Expand Down

0 comments on commit 5eb8ab3

Please sign in to comment.