From 238f13e2d0892b2038757e9c69a3c30c6e348e6b Mon Sep 17 00:00:00 2001 From: Tng Zi Xiang Date: Mon, 2 Oct 2023 23:41:36 +0800 Subject: [PATCH] chore: change ports --- integration/issue.mjs | 2 +- integration/revoke.mjs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/integration/issue.mjs b/integration/issue.mjs index 93a0bf1..29b9308 100644 --- a/integration/issue.mjs +++ b/integration/issue.mjs @@ -4,7 +4,7 @@ import { sleep, waitForAndClickElement, waitForElement } from "./utils.mjs"; export const issue = async (metamask, browser) => { try { const page = await browser.newPage(); - await page.goto("http://localhost:5173/", { waitUntil: "networkidle" }); + await page.goto("http://localhost:4173/", { waitUntil: "networkidle" }); // START - approve application once, subsequent tests no longer need await metamask.approve(); diff --git a/integration/revoke.mjs b/integration/revoke.mjs index 530c80f..ebe7546 100644 --- a/integration/revoke.mjs +++ b/integration/revoke.mjs @@ -4,7 +4,7 @@ import { sleep, waitForAndClickElement, waitForElement } from "./utils.mjs"; export const revoke = async (metamask, browser) => { try { const page = await browser.newPage(); - await page.goto("http://localhost:5173/"); + await page.goto("http://localhost:4173/"); await waitForAndClickElement(page, "[data-testid='connectToWallet']");