ImageAdminStylesTest::testAjaxEnabledEffectForm() fails because statusMessageExists() does not wait

Created on 24 July 2024, 3 months ago
Updated 11 August 2024, 2 months ago

Problem/Motivation

Moving to selenium has exposed a problem with the statusMessageExists() assertion. It does not wait - if the message is added by ajax there's no guarantee the message is there yet. See https://git.drupalcode.org/project/drupal/-/jobs/2218322

Steps to reproduce

See https://git.drupalcode.org/project/drupal/-/jobs/2218322

Proposed resolution

I think this method should do a wait if used in a JS test.

Remaining tasks

User interface changes

None

Introduced terminology

N/a

API changes

None

Data model changes

None

Release notes snippet

None

πŸ› Bug report
Status

Fixed

Version

11.0 πŸ”₯

Component
BaseΒ  β†’

Last updated 6 minutes ago

Created by

πŸ‡¬πŸ‡§United Kingdom alexpott πŸ‡ͺπŸ‡ΊπŸŒ

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