Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import { expect, test } from '@playwright/test';
test('Navigate to notifications', async ({ page }) => {
await page.goto('https://www.meetup.com/notifications');
await expect(page.locator(`"Nothing here yet"`).first()).toBeVisible();
});
test('Navigate to payment methods', async ({ page }) => {
await page.goto('https://www.meetup.com/account/payment-methods');
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