Skip to content

Commit

Permalink
update coming soon section on plugin home test
Browse files Browse the repository at this point in the history
button text changed in ecommerce module version 1.3.7, this should pass in older versions still too
  • Loading branch information
circlecube committed Nov 2, 2023
1 parent 05cf354 commit 0e5da06
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/cypress/integration/coming-soon.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ describe('Coming Soon', function () {
.contains('h1', 'Ready to go live?')
.should('be.visible');

cy.get( appClass + '-home .nfd-app-section-content')
.contains('a.nfd-button', 'Preview your').first()
cy.get( appClass + '-home .nfd-app-section-content')
.contains('a.nfd-button', 'iew your s').first()
.should('exist');

cy.get( appClass + '-home .nfd-app-section-content').first()
.contains('button', 'Launch your')
.contains('button', 'Launch')
.should('exist');

});
Expand Down

0 comments on commit 0e5da06

Please sign in to comment.