[random test failure] jQuery Events Deprecation Tests (Tests/dialogDeprecations)

Created on 28 April 2025, 5 days ago

Problem/Motivation

According to https://project.pages.drupalcode.org/flaky_tests_dashboard/ the Nightwatch test "jQuery Events Deprecation Tests" has failed 33 times recently.

TEST FAILURE (3m 56s):  
 - 1 assertions failed; 1438 passed
 ✖ 1) Tests/dialogDeprecations
 – jQuery Events Deprecation Tests (6.624s)
 → ✖ NightwatchAssertError
 Testing if "jQuery event dialogButtonsChange is deprecated in 11.2.0 and is removed from Drupal:12.0.0. See https://www.drupal.org/node/3464202" deprecation error has been triggered in 5000ms - expected "jQuery event dialogButtonsChange is deprecated in 11.2.0 and is removed from Drupal:12.0.0. See https://www.drupal.org/node/3464202" but got: "[]" (5430ms)
  Error location:
  /builds/issue/drupal-3497701/core/tests/Drupal/Nightwatch/Tests/dialogDeprecations.js:29
  –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
   27 |           }, 100);
   28 |         })
   29 |         .assert.deprecationErrorExists( 
   30 |           'jQuery event dialogButtonsChange is deprecated in 11.2.0 and is removed from Drupal:12.0.0. See https://www.drupal.org/node/3464202',
   31 |         );
  –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––

Steps to reproduce

https://git.drupalcode.org/issue/drupal-3497701/-/jobs/5092210

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Active

Version

11.0 🔥

Component

javascript

Created by

🇦🇺Australia mstrelan

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024