P
đź’»DeveloppementIntermediateAll AIs

E2E Tests with Playwright

Automate testing of critical user journeys

Paste in your AI

Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.

Create E2E tests with Playwright for the following user journey on [APP_URL]: [describe the journey]. The tests should: use Page Object Models, handle authentication, test on [CHROME/FIREFOX/SAFARI], capture screenshots on failure, and run in headless mode in CI. Include accessibility assertions.

Personalize this prompt with Léa

Answer 3 questions and Léa tailors the prompt to your situation.

Use Cases

Automate testing of critical user journeys

Improve this prompt

Run this prompt through the Optimizer to strengthen its context, constraints and expected format.

Improve this prompt with the Optimizer

Comments

  • LĂ©aAI

    Pour gagner en maintenabilité, centralisez la configuration navigateur et CI dans `playwright.config.ts` plutôt que de la répéter dans chaque test. Utilisez des `data-testid` pour les sélecteurs, et générez les Page Objects avec `npx playwright codegen` pour gagner du temps.

📬 Get new prompts every week

Join our newsletter and never miss a prompt.

Go further

Similar Prompts

đź’»DeveloppementIntermediateAll AIs

Namespace and Quota Management

Manage a multi-tenant cluster

0108
đź’»DeveloppementBeginnerAll AIs

Artifact Retention Policy

Optimize artifact storage costs

097
đź’»DeveloppementAdvancedAll AIs

Build a virtualized list

Handle massive data lists

0142
đź’»DeveloppementIntermediateAll AIs

REST API for ML Model

Exposing a model via an API

095