Skip to content

Commit

Permalink
ws removed
Browse files Browse the repository at this point in the history
  • Loading branch information
proletesseract committed Sep 24, 2024
1 parent 4c99e5a commit 6b51aef
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ test.beforeEach(async ({ page }) => {
test.describe("home page", () => {
test("has title, heading and link", async ({ page }) => {
await expect(page).toHaveTitle("Passport Connect Examples");

await expect(page.getByRole("heading", { name: "Passport Connect Examples" })).toBeVisible();

await expect(page.getByRole("link", { name: "Connect with EtherJS" })).toBeVisible();
await expect(page.getByRole("link", { name: "Connect with EIP-1193" })).toBeVisible();
await expect(page.getByRole("link", { name: "Connect with Wagmi" })).toBeVisible();
Expand All @@ -19,9 +17,7 @@ test.describe("home page", () => {
test.describe("connect wallet with etherjs", () => {
test("has heading, login button and initial account status set correctly", async ({ page }) => {
await page.click("text=Connect with EtherJS");

await expect(page.getByRole("heading", { name: "Passport Connect with EtherJS" })).toBeVisible();

await expect(page.getByRole("button", { name: "Passport Login" })).toBeVisible();
await expect(page.getByText("Connected Account")).toBeVisible();
await expect(page.getByText("(not connected)")).toBeVisible();
Expand All @@ -32,9 +28,7 @@ test.describe("connect wallet with etherjs", () => {
test.describe("connect wallet with eip1193", () => {
test("has heading, login button and initial account status set correctly", async ({ page }) => {
await page.click("text=Connect with EIP-1193");

await expect(page.getByRole("heading", { name: "Passport Connect with EIP-1193" })).toBeVisible();

await expect(page.getByRole("button", { name: "Passport Login" })).toBeVisible();
await expect(page.getByText("Connected Account")).toBeVisible();
await expect(page.getByText("(not connected)")).toBeVisible();
Expand Down

0 comments on commit 6b51aef

Please sign in to comment.