headlamp icon indicating copy to clipboard operation
headlamp copied to clipboard

frontend: edit docs for playwright

Open vyncent-t opened this issue 10 months ago • 1 comments

Update Documentation for Local Playwright End-to-End Tests

Description

This PR updates the existing documentation to include more detailed instructions on setting up and running local Playwright end-to-end tests. The enhancements aim to provide developers with clear guidelines on how to effectively utilize Playwright for testing their local developments, ensuring that they can quickly and efficiently verify changes before deployment.

Changes

  • [x] Expanded the documentation to include step-by-step setup instructions for running Playwright locally.
  • [X] Added options for preferences using configurations to playwright.config.ts

Verification

  • [x] Ensured that all new documentation content is clear, accurate, and easy to follow.
  • [x] Tested the setup instructions and test execution steps to ensure they are applicable and functional.
  • [x] Reviewed the documentation for technical accuracy and coherence with existing documentation standards.

vyncent-t avatar Apr 25 '24 17:04 vyncent-t

Something that could be useful is a development guide, like how to create, change and validate tests and also how to run tests against a local frontend build. Also we should probably mention the playwright --ui[0] option which I think is really useful

[0] https://playwright.dev/docs/test-ui-mode

sniok avatar Apr 26 '24 12:04 sniok

@skoeva Can you confirm/test these steps?

joaquimrocha avatar May 10 '24 15:05 joaquimrocha

rebased and added a section for the UI mode

vyncent-t avatar May 10 '24 16:05 vyncent-t