Udemy Playwright: Web Automation Testing From Zero to Hero: Difference between revisions
Jump to navigation
Jump to search
m (→next TBD) |
|||
Line 40: | Line 40: | ||
I'm familiar with javascript - I'm fast forwarding through this without keeping notes | I'm familiar with javascript - I'm fast forwarding through this without keeping notes | ||
== | == Section 3 - Playwright Hands-On Overview == | ||
* create new folder & <code>npm init playwright@latest</code> | |||
* CLI Test Executions | |||
<nowiki> | |||
npx playwright test | |||
npx playwright test example.spec.ts --project=chromium --headed | |||
npx playwright test -g "has title" | |||
npx playwright show-report</nowiki> | |||
* OMG this debug UI is cool! | |||
<nowiki>npx playwright test --ui</nowiki> |
Revision as of 05:31, 20 May 2024
Link to Udemy Udemy Playwright: Web Automation Testing From Zero to Hero
Playwright vs Cypress
Playwright Pros. | Cypress Pros. |
---|---|
|
|
Development Environment Configuration
- node.js => updated => done
- Git => updated => done
- VS Code => updated => done
- Playwright extn for VS Code => installed
Clone Test App
- From https://github.com/bondar-artem/pw-practice-app
- Cloned it in VS Code
npm install --force
- --force needed to accept various warnings
npm start
http://localhost:4200/
Javascript Fundamentals
I'm familiar with javascript - I'm fast forwarding through this without keeping notes
Section 3 - Playwright Hands-On Overview
- create new folder &
npm init playwright@latest
- CLI Test Executions
npx playwright test npx playwright test example.spec.ts --project=chromium --headed npx playwright test -g "has title" npx playwright show-report
- OMG this debug UI is cool!
npx playwright test --ui