public function FancyLoginJavascriptTestBase::assertElementExistsXpath in Fancy Login 8.2
Same name and namespace in other branches
- 3.0.x src/TestBase/FancyLoginJavascriptTestBase.php \Drupal\fancy_login\TestBase\FancyLoginJavascriptTestBase::assertElementExistsXpath()
Assert that the element for the given xpath exists.
1 call to FancyLoginJavascriptTestBase::assertElementExistsXpath()
- FancyLoginJavascriptTest::setUp in tests/
src/ FunctionalJavascript/ FancyLoginJavascriptTest.php
File
- src/
TestBase/ FancyLoginJavascriptTestBase.php, line 34
Class
- FancyLoginJavascriptTestBase
- Base class providing various functions used in functional tests.
Namespace
Drupal\fancy_login\TestBaseCode
public function assertElementExistsXpath($selector) {
$this
->assertSession()
->elementExists('xpath', $selector);
}