Skip to content

Commit

Permalink
chore: npm run test
Browse files Browse the repository at this point in the history
  • Loading branch information
zixiang2018 committed Oct 2, 2023
1 parent f625c4e commit 1d25648
Show file tree
Hide file tree
Showing 4 changed files with 11,304 additions and 5,901 deletions.
2 changes: 1 addition & 1 deletion integration/issue.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion integration/revoke.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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']");

Expand Down
Loading

0 comments on commit 1d25648

Please sign in to comment.