Update Nightwatch from 2.4.2 to 2.6.19

Created on 27 November 2022, about 2 years ago
Updated 27 July 2023, over 1 year ago

Problem/Motivation

In parent issue #3258933-51: [meta] Update JavaScript dependencies for Drupal 10 we discovered updating Nighwatch to the latest version breaks all nightwatch tests.
That's why we handle the update in this separate child issue.

Relevant comments from the parent issue

This seems the likely culprit to me:

-    selenium-webdriver "4.3.1"
+    selenium-webdriver "4.6.1"

Maybe we should split off the Nightwatch update into a separate child issue and get the other ones in whilst we investigate?

Spokje in #3258933-53: [meta] Update JavaScript dependencies for Drupal 10

Possibly related, see https://github.com/SeleniumHQ/docker-selenium/issues/1723. This caused FunctionalJavascript tests to fail for me and at least a handful of others. Also affects Drupal Test Traits. Pinning to selenium/standalone-chrome:4.5.2 resolved the issue. I suspect it's the same issue here.

mstrelan in #3258933-54: [meta] Update JavaScript dependencies for Drupal 10

$ yarn-lock-diff -o old.yarn.lock -n yarn.lock
┌──────────────────────────────┬───────────────┬────────────────┐
│ package name                 │ old version(s)│ new version(s) │
├──────────────────────────────┼───────────────┼────────────────┤
│ axe-core                     │ 4.5.1         │ 4.5.2          │
├──────────────────────────────┼───────────────┼────────────────┤
│ nightwatch                   │ 2.4.2         │ 2.5.2          │
├──────────────────────────────┼───────────────┼────────────────┤
│ selenium-webdriver           │ 4.3.1         │ 4.6.1          │
├──────────────────────────────┼───────────────┼────────────────┤
│ untildify                    │ -             │ 4.0.0          │
└──────────────────────────────┴───────────────┴────────────────┘

Proposed resolution

- yarn upgrade nightwatch
- Fix problems
- Review
- Commit

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Closed: duplicate

Version

11.0 🔥

Component
Javascript 

Last updated 2 days ago

Created by

🇳🇱Netherlands spokje

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024