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
......@@ -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());
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment