Skip to content

Commit

Permalink
cypress fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nihal467 committed Sep 26, 2023
1 parent 4e886d5 commit 834e5c9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cypress/pageobject/Facility/FacilityCreation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,7 @@ class FacilityPage {
}

verifyfacilitycreateassetredirection() {
cy.intercept("GET", "**/api/v1/facility/**").as("getNewAssets");
cy.url().should("include", "/assets/new");
cy.wait("@getNewAssets").its("response.statusCode").should("eq", 200);
}

verifyassetfacilitybackredirection() {
Expand Down

0 comments on commit 834e5c9

Please sign in to comment.