Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292452

[policy, no patch] Replace Nightwatch with Playwright

$
0
0

Problem/Motivation

Nightwatch testing is extremely unreliable and the cause of many random pipeine test failures.

The js world in general, and Drupal outside of core, is using either Cypress or Playwright for similar kinds of tests, and very few projects at all use Nightwatch these days (see links in issue).

For accessibility testing, we can also use Functional JavaScript tests with Axe enabled.

Steps to reproduce

Look at related issues that were or are problematic

Proposed resolution

Pick Cypress or Playwright to replace Nightwatch- there seems to be a slight but growing preference for Playwright both anecdotally on the issue and via npm download stats.

Also convert some Nightwatch tests to Functional JavaScript + Axe where appropriate.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 292452

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>