Skip to content

Commit

Permalink
feat: added wait for deleteBoilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-McFaddin committed Jul 28, 2023
1 parent 78ed440 commit b176d95
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,9 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# cypress testing
/cypress/videos
/cypress/screenshots
/cypress/reports
/cypress/fixtures
1 change: 1 addition & 0 deletions cypress/e2e/boilerplate-e2e/grantShow.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ describe("View a Grant on the Grants Show page", () => {
cy.get("a:contains('Section To Boilerplate Test')").first().click();
cy.get("button:contains('Edit')").click();
cy.get("button:contains('Delete')").click();
cy.wait("@deleteBoilerplate");
cy.reload();
cy.get("tr").last().should("not.contain", "Section To Boilerplate Test");

Expand Down

0 comments on commit b176d95

Please sign in to comment.