Skip to content

Commit

Permalink
Update inbox.spec.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
scopsy committed Oct 21, 2024
1 parent eab189c commit 6ba5677
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/inbox.spec.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
import { test, expect } from "@playwright/test";

test("loads inbox playground", async ({ page }) => {
const newPage = await page.context().newPage();
test("loads inbox playground", async ({ browser }) => {
const context = await browser.newContext();
const newPage = await context.newPage();
await newPage.goto("/");

await expect(newPage.locator(".nv-notificationList")).toBeVisible();
await expect(newPage.locator(".nv-inboxStatus__title")).toBeVisible();
});

test("new notification notice is visible", async ({ page }) => {
const newPage = await page.context().newPage();
test("new notification notice is visible", async ({ browser }) => {
const context = await browser.newContext();
const newPage = await context.newPage();
await newPage.goto("/");

await newPage.waitForLoadState("networkidle");
Expand Down

0 comments on commit 6ba5677

Please sign in to comment.