Skip to content

Example feature test using Playwright driver for PhoenixTest

Notifications You must be signed in to change notification settings

ftes/phoenix_test_playwright_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Actions Workflow Status

PhoenixTest Playwright example

To run the feature test:

mix setup
mix test test/features

The Playwright trace viewer should automatically open. If it doesn't, drop the tmp/*.zip file into trace.playwright.dev.

Regeneration procedure

This project maintains a clean git history showing each generation step. To regenerate from scratch:

mix archive.install hex phx_new
mix phx.new my_app --install
cd my_app && git init && git add -A && git commit -m "mix phx.new my_app"

mix phx.gen.auth Accounts User users --live
mix deps.get
git add -A && git commit -m "mix phx.gen.auth Accounts User users --live"

# Apply PhoenixTestPlaywright changes (see commit diff)
# Apply Tidewave changes (see commit diff)

About

Example feature test using Playwright driver for PhoenixTest

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •