Udemy Playwright: Web Automation Testing From Zero to Hero: Difference between revisions

Jump to navigation Jump to search
m
Line 1,129: Line 1,129:


=== Setup New Project ===
=== Setup New Project ===
* goto https://conduit.bondaracademy.com/
** open dev tools to observe network traffic
** create account
** create an article
** delete the article
*download & install Postman
*VS Code
** Create new project folder <code>~/Repositories/PlaywrightUdemyCourse/pw-APITest-app</code>
** open new terminal and run <code>npm init playwright@latest</code>
** delete <code>test-examples</code> folder
** rename <code>tests\example.spec.ts</code> to <code>tests\workingWithAPI.spec.ts</code>
=== Mocking API ===
=== Mocking API ===
=== Mocking API Response ===
=== Mocking API Response ===

Navigation menu