Commit 4b6a3abf authored by catch's avatar catch
Browse files

Issue #3239436 by alexpott, danflanagan8, longwave: Cannot run...

Issue #3239436 by alexpott, danflanagan8, longwave: Cannot run \Drupal\Tests\layout_builder\FunctionalJavascript\LayoutBuilderDisableInteractionsTest locally because it tests error messages from chromedriver
parent 7410d627
Loading
Loading
Loading
Loading
+2 −1
Changes for core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderDisableInteractionsTest.php: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -181,7 +181,8 @@ protected function assertElementUnclickable(NodeElement $element) {
      $this->fail(new FormattableMarkup("@tag_name was clickable when it shouldn't have been", ['@tag_name' => $tag_name]));
    }
    catch (\Exception $e) {
      $this->assertStringContainsString('is not clickable at point', $e->getMessage());
      // cspell:ignore interactable
      $this->assertMatchesRegularExpression('/(is not clickable at point|element not interactable)/', $e->getMessage());
    }
  }