Problem/Motivation

Nightwatch tests have proven to be too shaky for my liking and may not be a good long-term choice.

Details:

Although Drupal core uses some Nightwatch tests, we don't need to restrict ourselves to the testing tools shipped with core.

Also, Drupal core might adopt Playwright.

Proposed resolution

Replace Nightwatch with Playwright.

Remaining tasks

  • Set up Playwright for testing
  • Port existing tests to Playwright

User interface changes

n/a

API changes

n/a

Data model changes

n/a

Comments

star-szr created an issue. See original summary.

star-szr’s picture

Issue summary: View changes
star-szr’s picture

I did a quick search today and found that core is looking to go in the direction of Playwright, which based on my recent evaluations for a client project would be very high on my list as well.

Tools to check out:

https://github.com/Lullabot/ddev-playwright
https://github.com/julienloizelet/ddev-playwright

star-szr’s picture

Title: Replace Nightwatch testing with another solution » Replace Nightwatch testing with Playwright
Category: Plan » Task
Issue summary: View changes

At this point the path seems clear to use Playwright, of course things can change but converting to a task for now.

I am hoping to have some time available in the next week or two to continue this work.