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

[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

Add Playwright testing to Drupal core.

Convert nightwatch tests to playwright.

Remove the nightwatch tests and core pipeline.

Also convert some Nightwatch tests to Functional JavaScript + Axe where appropriate if that makes more sense than playwright.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 292158

Trending Articles



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