Skip to content

Instantly share code, notes, and snippets.

@corradin
Created January 24, 2022 12:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save corradin/18eeaae8582848f8b5c128200ba74b09 to your computer and use it in GitHub Desktop.
Save corradin/18eeaae8582848f8b5c128200ba74b09 to your computer and use it in GitHub Desktop.
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