Skip to content

s3cur3/phoenix_test_playwright

 
 

Repository files navigation

Hex.pm Version Hex Docs License GitHub Actions Workflow Status

PhoenixTestPlaywright

Execute PhoenixTest cases in an actual browser via Playwright.

Please get in touch with feedback of any shape and size.

Enjoy!

Freddy.

Documentation: hexdocs.pm

Example: ftes/phoenix_test_playwright_example

Standalone Playwright client: ftes/playwright_ex

Contributing

To run the tests locally, you'll need to:

  1. Check out the repo
  2. Run mix setup. This will take care of setting up your dependencies, installing the JavaScript dependencies (including Playwright), and compiling the assets.
  3. Run mix test or, for a more thorough check that matches what we test in CI, run mix check
  4. Run mix test.websocket to run all tests against a 'remote' playwright server via websocket. Docker needs to be installed. A container is started via testcontainers.

About

Execute PhoenixTest cases in an actual browser via Playwright.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Elixir 99.8%
  • JavaScript 0.2%