Browse Source

Fix broken status messages test

merge-requests/4/head
Chi 6 years ago
parent
commit
dd983bf1f7
  1. 2
      tests/src/Functional/TwigTweakTest.php

2
tests/src/Functional/TwigTweakTest.php

@ -231,7 +231,7 @@ class TwigTweakTest extends BrowserTestBase {
self::assertEquals($link, trim($this->xpath($xpath)[0]->getHtml())); self::assertEquals($link, trim($this->xpath($xpath)[0]->getHtml()));
// Test status messages. // Test status messages.
$xpath = '//div[@class = "tt-messages"]/div[contains(@class, "messages--status") and contains(., "Hello world!")]'; $xpath = '//div[@class = "tt-messages"]//div[contains(@class, "messages--status") and contains(., "Hello world!")]';
$this->assertByXpath($xpath); $this->assertByXpath($xpath);
// Test breadcrumb. // Test breadcrumb.

Loading…
Cancel
Save