Skip to content

Commit

Permalink
added console to test actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Hurly77 committed Oct 22, 2023
1 parent fbf10ac commit 644e113
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/auth.setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const authFile = "playwright/.auth/session.json";
setup("authenticate", async ({ page, baseURL }) => {
// Perform authentication steps. Replace these actions with your own.
await page.goto(baseURL + "/auth/login");
console.log("AUTH", process.env.TEST_USER_EMAIL, process.env.TEST_USER_PASSWORD)
await page.getByLabel("Email").fill(process.env.TEST_USER_EMAIL ?? "");
await page.getByLabel("Password").fill(process.env.TEST_USER_PASSWORD ?? "");
await page.getByRole("button", { name: "Login" }).click();
Expand Down

0 comments on commit 644e113

Please sign in to comment.