Releases: Lullabot/playwright-drupal
Releases · Lullabot/playwright-drupal
playwright-drupal: v1.7.0
playwright-drupal: v1.6.0
1.6.0 (2026-04-21)
This release is a big one with three major improvements:
- We now publish our documentation to a dedicated docs site at https://lullabot.github.io/playwright-drupal/1.6.0/.
- 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.
- 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
playwright-drupal: v1.5.1
playwright-drupal: v1.5.0
playwright-drupal: v1.4.1
playwright-drupal: v1.4.0
playwright-drupal: v1.3.0
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
playwright-drupal: v1.2.0
playwright-drupal: v1.1.0
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)