Invalid selector in MaximumFileSizeExceededUploadTest

Created on 25 December 2019, over 5 years ago
Updated 30 January 2023, over 2 years ago

Problem/Motivation

The '.messages--error' selector doesn't actually appear, but this is obscured by the fact $this->assertSession()->waitForElement doesn't assert the element actually appears.

Proposed resolution

switch to '[aria-label="Error message"]' and wrap the assertion in $this->assertNotEmpty().

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Needs work

Version

10.1

Component
File module 

Last updated 2 days ago

Created by

🇺🇸United States oknate Greater New York City Area

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