Skip to content

Commit

Permalink
attempt to fix cypress error
Browse files Browse the repository at this point in the history
  • Loading branch information
asinn134 committed Jan 3, 2025
1 parent bc75c13 commit 30aefa6
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions services/core-web/cypress/e2e/createproject.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,18 +106,14 @@ describe("Major Projects", () => {
cy.get(`[name="payment_contact.phone_no"]`).type("123-456-7890", { force: true });
cy.get(`[name="payment_contact.email"]`).type("[email protected]", { force: true });
cy.get(`[name="payment_contact.address[0].address_line_1"]`).type("123 Fake St", { force: true });
cy.get(`[data-cy="payment_contact.address[0].address_type_code"]`)
cy.get(`[data-cy="payment_contact.address[0].address_type_code"]:visible`)
.contains("Please select")
.click({
force: true,
});
cy.get('[title="Canada"]').click({ force: true });
cy.get(`[data-cy="payment_contact.address[0].sub_division_code"]`)
.click();
cy.get('[title="Canada"]:visible').click();
cy.get(`[data-cy="payment_contact.address[0].sub_division_code"]:visible`)
.contains("Please select")
.click({
force: true,
});
cy.get('[title="AB"]').click({ force: true });
.click();
cy.get('[title="AB"]:visible').click();
cy.get(`[name="payment_contact.address[0].post_code"]`).type("A0A0A0", { force: true });
cy.get(`[name="payment_contact.address[0].city"]`).type("Cityville", { force: true });

Expand Down

0 comments on commit 30aefa6

Please sign in to comment.