IKivan-kozenko -aqa
Try yourself as a QA tester
Back to topic

Quiz

Test generator

Check yourself

  1. 1.You want to record a test for the /orders page but it requires authentication. The login flow is complex (MFA, redirects). What's the most efficient approach?
  2. 2.Which CLI command runs codegen and opens a browser at a specific URL?
  3. 3.In the Playwright Inspector during a codegen session, how do you switch to Pick Locator mode without adding new action code?
  4. 4.What does the generated test code from codegen look like after clicking a button and asserting a success message?
  5. 5.How do you record a codegen session that emulates an iPhone 13 device?
  6. 6.You use --save-storage=auth.json with codegen. What does this file contain and why should you add it to .gitignore?
  7. 7.How do you save the generated code directly to a file instead of relying on the clipboard?
  8. 8.What is the purpose of 'Record at cursor' in the VS Code Playwright extension?