Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import { expect, test } from '@playwright/test';
test('Navigate to notifications', async ({ page }) => {
await page.goto('');
await expect(page.locator(`"Nothing here yet"`).first()).toBeVisible();
test('Navigate to payment methods', async ({ page }) => {
await page.goto('');
await expect(page.locator(`"You don't have any saved cards."`).first()).toBeVisible();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment