From c61764be25bedaf25c5e6cad00875be94e09dc78 Mon Sep 17 00:00:00 2001
From: Dave Long <dave@longwaveconsulting.com>
Date: Sat, 22 Jul 2023 15:46:38 +0200
Subject: [PATCH] Issue #3055982 by Spokje, alexpott: Remove resizing window in
 BlockFormMessagesTest::testValidationMessage

---
 .../tests/src/FunctionalJavascript/BlockFormMessagesTest.php   | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFormMessagesTest.php b/core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFormMessagesTest.php
index e6c143585fb9..abfeb2a3a32f 100644
--- a/core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFormMessagesTest.php
+++ b/core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFormMessagesTest.php
@@ -47,9 +47,6 @@ protected function setUp(): void {
    * Tests that validation messages are shown on the block form.
    */
   public function testValidationMessage() {
-    // @todo Work out why this fixes random fails in this test.
-    //   https://www.drupal.org/project/drupal/issues/3055982
-    $this->getSession()->resizeWindow(800, 1000);
     $assert_session = $this->assertSession();
     $page = $this->getSession()->getPage();
 
-- 
GitLab