This file will be used for the exercises in this course. I'll include links that are discussed in each video.
- Learning Playwright Branch 01_01b
- Node Prebuilt Installer
- VS Code
- Playwright Test for VS Code
- Learning Playwright Branch 01_01e
- Learning Playwright Branch 01_02b
- Playwright Docs - Test Timeouts
- Ternary Operator
- Playwright Docs - TestConfig
- Playwright Docs - Test Configuration
- Learning Playwright Branch 01_02e
- Learning Playwright Branch 01_03b
- Playwright Release Notes
- Playwright Docs - TestProject
- Playwright Docs - TestProject testMatch
- Playwright Docs - TestOptions browserName
- Learning Playwright Branch 01_03e
- Learning Playwright Branch 01_04b
- Playwright Docs - Command Line
- Playwright Docs - Test Tags
- Learning Playwright Branch 01_04e
- Learning Playwright Branch 02_03b
- Playwright Docs - Type Characters
- Playwright Docs - setIdAttribute
- Playwright Docs - Built-in Locators
- Playwright Docs - Legacy Locators
- Playwright Docs - CSS Locators
- Learning Playwright Branch 02_03e
- Learning Playwright Branch 02_04b
- Playwright Docs - Test Assertions
- Learning Playwright Branch 02_04e
- Learning Playwright Branch 02_06b
- Practice Website Default Accounts
- Playwright Docs - Authentication
- Learning Playwright Branch 02_06e
- Learning Playwright Branch 02_07b
- Playwright Docs - toHaveScreenshot()
- Playwright Docs - Visual Comparisons
- Learning Playwright Branch 02_07e
- Learning Playwright Branch 02_08b
- Playwright Docs - APIRequestContext
- Learning Playwright Branch 02_08e
-
Challenge: Create 3 Automated Tests
- Create an automated test that adds an item to the shopping cart, Goes through the checkout process and when paying select buy now pay later.
- Create a visual test to the checkout flow to validate the final payment screen.
- Create an API test against the endpoint /products/{unique_id}, ensuring the correct product details are returned.
-
Hints:
- Save yourself some time and utilize the storage state that we have already created in video 02_06.
- The productIds automatically change every 2 hours, so you will need to find a way to get the current productId reliably for the API test.
- Learning Playwright Branch 03_02b
- Playwright Docs - Test Reporters
- Learning Playwright Branch 03_02e