//generate-test-with-copilotbydebs-obrien

generate-test-with-copilot

33
29
33
2
TypeScript

Demo: Generating tests for Playwright Movies App

  1. Make sure the server is running. You can press start in the server in the .vscode/settings.json file

  2. Add the prompts/generate:test.md file to the chat context

  3. Paste the following code into Copilot using Agent mode and Claude 3.5

Generate a Playwright test for the following scenario:
1. Navigate to https://debs-obrien.github.io/playwright-movies-app
2. search for 'Garfield'
3. verify the movie is in the list
[beta]v0.14.0