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 d181add commit eab189c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/inbox.spec.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import { test, expect } from "@playwright/test";

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

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

test("new notification notice is visible", async ({ page }) => {
Expand Down

0 comments on commit eab189c

Please sign in to comment.