Skip to content

Releases: Lullabot/playwright-drupal

playwright-drupal: v1.7.0

22 Apr 15:39
c97d45d

Choose a tag to compare

1.7.0 (2026-04-21)

Features

playwright-drupal: v1.6.0

21 Apr 18:04
f4175f0

Choose a tag to compare

1.6.0 (2026-04-21)

This release is a big one with three major improvements:

  1. We now publish our documentation to a dedicated docs site at https://lullabot.github.io/playwright-drupal/1.6.0/.
  2. Testing accessibility violations is significantly improved. We now have a much better method for storing baselines of allow-listed violations. The Playwright report includes screenshots with the highlighted element of a violation (if possible). As well, we ship a reusable GitHub action that bubbles the accessibility summary up to the workflow summary.
  3. We've added a whole set of testing APIs for working with Drupal sites. If you've ever struggled with Autosave Form or CKEditor in tests, these are for you!

Features

  • a11y: default new tests to baseline mode, preserve snapshot mode for existing (#120) (eda6d43)
  • add baseline allowlist and a11y fixture helper (#105) (37cd52e)
  • add GitHub a11y annotations action and CLI (4c90232)
  • add MkDocs documentation site with versioned GitHub Pages deployment (#113) (fd70861)
  • add screenshotViolations option to highlight a11y errors (e9e83cf)
  • extract checkAccessibility() with configurable options (#104) (03e4009)
  • util: add autosaveForm utilities (#135) (7cdd77c)
  • util: add Ckeditor5 class (#128) (0f0d939)
  • util: add dblog utilities (#130) (8276bea)
  • util: add entities.extractEntityIdFromPage (#127) (f278c93)
  • util: add forms module for Drupal AJAX, gin, and submit plumbing (#126) (fdfcdb0)
  • util: add managedFile.uploadManagedFile (#134) (5a46ea0)
  • util: add mediaLibrary.selectFirstMediaFromLibrary (#133) (ba81241)
  • util: add modules probe utilities (#129) (581940c)
  • util: add oembed.fillOembedUrl (#132) (4d83fb8)
  • util: add statusReport parser (#131) (3df29a7)

Bug Fixes

  • a11y-annotations: pipe summary stdout to $GITHUB_STEP_SUMMARY (055acd5)
  • a11y-annotations: run npx inside the playwright install dir (8976f99)
  • a11y: treat 'missing' as baseline mode, not snapshot mode (#124) (41467c1)

playwright-drupal: v1.5.1

02 Apr 23:28
799cd37

Choose a tag to compare

1.5.1 (2026-04-02)

Bug Fixes

  • remove docroot prefix from DRUPAL_DEV_SITE_PATH (#101) (ee29770)

playwright-drupal: v1.5.0

02 Apr 21:48
49d243b

Choose a tag to compare

1.5.0 (2026-04-02)

Features

  • capture CLI output as test attachments (#97) (96668e9)

Bug Fixes

  • make login() theme-agnostic (#98) (79306e5)
  • set DRUPAL_DEV_SITE_PATH so drush recipe works in test isolation (#99) (fa94748)

playwright-drupal: v1.4.1

01 Apr 14:38
2707cca

Choose a tag to compare

1.4.1 (2026-04-01)

Bug Fixes

  • pin mysql-to-sqlite3 to 2.5.5 due to regression in 2.5.6 (6336542)

playwright-drupal: v1.4.0

27 Mar 18:27
31add8c

Choose a tag to compare

1.4.0 (2026-03-27)

Features

  • detect incorrect import from packages/ in config (#89) (3b4e132)
  • support TypeScript 6 (#87) (987d6c3)

playwright-drupal: v1.3.0

23 Mar 19:55
35f2bd1

Choose a tag to compare

1.3.0 (2026-03-23)

The most significant improvement in this release is support for running tests on sites that use an existing database, similar to other systems like Drupal Test Traits. For performance, this is done by converting a MySQL database to SQLite. So far, it's working fine on the sites we've tested it with, but if your site has direct database queries it may not work as expected. Please open issues if you run into bugs!

Features

  • add definePlaywrightDrupalConfig() config helper (#77) (4475def)
  • add global mask support for visual diff screenshots (#73) (ae4b495)
  • add login helper utility (#78) (67cf077)
  • add mysql-to-sqlite conversion task (#75) (d4c4d5e)

Bug Fixes

  • apply deprecation suppression during setup and test execution (ed794a2)
  • suppress deprecation headers in test child sites (1cda7b3)

playwright-drupal: v1.2.0

16 Mar 14:27
8a7923d

Choose a tag to compare

1.2.0 (2026-03-16)

Features

  • add Mockable interface and mock integration to visualdiff (7458990)
  • add Vitest unit tests for YoutubeMock and iframe mock docs (ac291f1)
  • add YoutubeMock class and package exports (8819542)
  • detect docroot from composer.json instead of hardcoding web/ (#59) (9c5ba1b)

playwright-drupal: v1.1.0

11 Mar 13:04
a944049

Choose a tag to compare

1.1.0 (2026-03-11)

Features

  • add local commit message enforcement with commitlint and husky (1809ea5)
  • disable ACID compliance for faster tests (eabdc0a)
  • gitignore lib/, add files allowlist, and fix npm packaging (#61) (35643c5)
  • run pre-commit tests only when testable files are staged (eb57ec0)

Bug Fixes

  • add Playwright 1.56+ compatibility (13e18ad)
  • add repository URL for npm provenance (#63) (5db4fd6)
  • corrupt cache tables when generating cookie strings (cb7d1fa)
  • deps: update dependency @types/node to v24 (#28) (acc9a98)
  • use correct CLAUDECODE env var (no underscore) in pre-commit hook (6437d8b)