Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 977 Bytes

README.md

File metadata and controls

30 lines (23 loc) · 977 Bytes

e2e testing

GatherPress allows to run automated and manual end-to-end tests, while sharing the same, wp-env based, setup.

Automated tests

Check the results of the e2e-tests action workflow at https://github.com/GatherPress/gatherpress/actions/workflows/e2e-tests.yml.

Manual testing

  1. Have node installed
  2. Have docker running
  3. Open the plugin folder in a terminal
  4. Choose one of the following options
    • Run Playwright normally

      npm run test:e2e
      
    • Run Playwright visually (and change what's happening)

      npm run test:e2e:ui
      

      grafik

    • Run Playwright in debugging mode (and record what's happening)

      npm run test:e2e:debug
      
    • Run Tests independently AND visually using the Playwright VSCode extension