Remove resizing window in BlockFormMessagesTest::testValidationMessage

Created on 21 May 2019, over 5 years ago
Updated 22 July 2023, over 1 year ago

Problem/Motivation

Resizing a window in \Drupal\Tests\layout_builder\FunctionalJavascript\BlockFormMessagesTest::testValidationMessage() appears to fix a random fail.

Looking at the html again - we have a Placeholder for the "New title" block but we're expecting the block to have been replaced real block and be identified by #layout-builder .block-system-powered-by-block

Proposed resolution

For whatever reason, the screen resize isn't necessary anymore and the test doesn't have random failures without it.

Let's remove the resize so the test is inline with (almost) every other FunctionalJavascript test.

Remaining tasks

User interface changes

None

API changes

None

Data model changes

None

Release notes snippet

N/a

📌 Task
Status

Fixed

Version

11.0 🔥

Component
PHPUnit 

Last updated about 10 hours ago

Created by

🇬🇧United Kingdom alexpott 🇪🇺🌍

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