protected function WebformAssertLegacyTrait::assertNoEscaped in Webform 6.x
Same name and namespace in other branches
- 8.5 tests/src/Traits/WebformAssertLegacyTrait.php \Drupal\Tests\webform\Traits\WebformAssertLegacyTrait::assertNoEscaped()
Passes if the raw text is not found escaped on the loaded page.
Raw text refers to the raw HTML that the page generated.
Parameters
string $raw: Raw (HTML) string to look for.
File
- tests/
src/ Traits/ WebformAssertLegacyTrait.php, line 612
Class
- WebformAssertLegacyTrait
- Provides convenience methods for assertions in browser tests.
Namespace
Drupal\Tests\webform\TraitsCode
protected function assertNoEscaped($raw) {
$this
->assertSession()
->assertNoEscaped($raw);
}