Created
May 28, 2024 19:24
-
-
Save PCreations/76ea92183d701f895857b013fa8742e4 to your computer and use it in GitHub Desktop.
393eb230988e1f4e9204c6ad52b278b0f225936be746c47dd44dd6a25f6af197.diff
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
-0,0 +1,8 @@ | |
+import { test, expect } from '@playwright/test'; | |
+ | |
+test('has title', async ({ page }) => { | |
+ await page.goto('http://localhost:3000'); | |
+ | |
+ // Expect a title "to contain" a substring. | |
+ await expect(page).toHaveTitle(/Crafty Reads/); | |
+}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment