Udemy Playwright: Web Automation Testing From Zero to Hero: Difference between revisions
Jump to navigation
Jump to search
Udemy Playwright: Web Automation Testing From Zero to Hero (view source)
Revision as of 19:21, 6 June 2024
, 6 June→Perform API Request
Line 1,189: | Line 1,189: | ||
})</nowiki> | })</nowiki> | ||
=== | === Performing API Requests === | ||
To test the delete article function we need to first use the API to | |||
* Login to obtain access token | |||
* create an article | |||
And then we can use web ui to | |||
* Login | |||
* go to Global Feed tab | |||
* find & click the article we created | |||
* delete the article | |||
* refresh the Global Feed tab | |||
* Confirm the article is no longer listed | |||
=== Intercept Browser API Response === | === Intercept Browser API Response === | ||
=== Sharing Authentication State === | === Sharing Authentication State === | ||
=== API Authentication === | === API Authentication === |