Skip to content

Latest commit

 

History

History
58 lines (47 loc) · 1.84 KB

CHANGELOG.md

File metadata and controls

58 lines (47 loc) · 1.84 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[0.5.0] 2025-02-14

Added

  • Docs: Document and validate global and per-test configuration
  • Docs: Document non-standard driver functions (click/4, click_button/4 etc.). Also, exclude standard driver functions from docs.
  • Config: Override config via Case opts, e.g. use PhoenixTest.Playwright.Case, headless: false
  • Keyboard simulation: type/{3,4} and press/{3,4}

Changed

  • Renamed: PheonixTest.Case to PhoenixTest.Playwright.Case
       defmodule MyTest do
    -    use PhoenixTest.Case, async: true
    +    use PhoenixTest.Playwright.Case, async: true
    -    @moduletag :playwright

[0.4.0] 2025-02-03

Added

  • Screenshots: screenshot/{2,3} function and screenshot: true config for auto-capture

Changed

  • Config: flattened list (remove nested browser config), override via top-level ExUnit @tag ...s (remove nested @tag playwright: [...])
       # config/test.exs
       config :phoenix_test,
         playwright: [
    -      browser: [browser: :chromium, headless: false, slow_mo: 0]
    +      browser: :chromium,
    +      headless: false,
    +      slow_mo: 0

[0.3.0] 2025-01-26

Changed

  • Auto-convert case of playwright messages keys (snake_case to camelCase)

[0.2.1] 2025-01-17

Added

  • Add more config options (browser, JS console) @s3cur3

Changed

  • Improve error messages @s3cur3
  • Improve setup and docs for contributors @s3cur3

[0.2.0] 2025-01-09

Added

[0.1.5] 2024-12-15

Added

  • @tag trace: :open to auto open recorded Playwright trace in viewer