Created
May 29, 2022 08:49
-
-
Save rainerhahnekamp/a65899cca0b1435b3bd51ca8b25d290d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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