Skip to content

Commit

Permalink
Update E2E tests to reflect changes in pay by bank flow in checkout a…
Browse files Browse the repository at this point in the history
…pp (#70)
  • Loading branch information
aashwin-rvvup authored Sep 23, 2024
1 parent b057b0e commit 3545f8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ test("Can place an order using different billing and shipping address", async ({
// Credit card form
const frame = page.frameLocator("iframe.rvvup-modal");
await frame.getByLabel("Mock Bank").click();
await frame.getByRole("button", { name: "Log in on this device" }).click();
await frame.getByRole("button", { name: "Continue on desktop" }).click();

await page.waitForURL("**/checkout/onepage/success/");

Expand Down
2 changes: 1 addition & 1 deletion Test/End-2-End/pay_by_bank.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ test("Can place an order using pay by bank", async ({ page, browser }) => {
// Credit card form
const frame = page.frameLocator("iframe.rvvup-modal");
await frame.getByLabel("Mock Bank").click();
await frame.getByRole("button", { name: "Log in on this device" }).click();
await frame.getByRole("button", { name: "Continue on desktop" }).click();

await page.waitForURL("**/checkout/onepage/success/");

Expand Down

0 comments on commit 3545f8e

Please sign in to comment.