Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Anchel123 committed Aug 6, 2024
1 parent b7b0e42 commit 6bb1e0b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions e2e/LoginTest.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { expect, test } from "@playwright/test";

test("Login Test", async ({ page }) => {
await page.goto("http://localhost:3000");
await page.waitForURL("http://localhost:3000/login");
await page.getByRole("button", { name: "Connect" }).click();
await page.waitForURL("http://localhost:3000/graph");
expect(page.url()).toBe("http://localhost:3000/graph");
})

0 comments on commit 6bb1e0b

Please sign in to comment.