Skip to content

Instantly share code, notes, and snippets.

@rainerhahnekamp
Created May 29, 2022 08:49
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 rainerhahnekamp/a65899cca0b1435b3bd51ca8b25d290d to your computer and use it in GitHub Desktop.
Save rainerhahnekamp/a65899cca0b1435b3bd51ca8b25d290d to your computer and use it in GitHub Desktop.
import { test, expect } from '@playwright/test';
test.describe('initial test', () => {
test('holidays', async ({ page }) => {
await page.goto('https://genuine-narwhal-f0f8ad.netlify.app/');
await page.click('[data-testid=btn-holidays]');
await expect(page.locator('mat-drawer-content')).toContainText(
'Choose among our Holidays'
);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment