public function RestrictIpBrowserTestBase::assertElementAttributeContains in Restrict IP 8
Same name and namespace in other branches
- 8.2 tests/src/Functional/RestrictIpBrowserTestBase.php \Drupal\Tests\restrict_ip\Functional\RestrictIpBrowserTestBase::assertElementAttributeContains()
- 3.x tests/src/Functional/RestrictIpBrowserTestBase.php \Drupal\Tests\restrict_ip\Functional\RestrictIpBrowserTestBase::assertElementAttributeContains()
1 call to RestrictIpBrowserTestBase::assertElementAttributeContains()
- RestrictIpAdminUiTest::testRestrictIpAdminPage in tests/
src/ Functional/ RestrictIpAdminUiTest.php - * Test that the admin UI page is properly linked to, that all the required elements * exist, and that the form is working properly
File
- tests/
src/ Functional/ RestrictIpBrowserTestBase.php, line 27
Class
- RestrictIpBrowserTestBase
- Provides some helper functions for functional tests.
Namespace
Drupal\Tests\restrict_ip\FunctionalCode
public function assertElementAttributeContains($selector, $attribute, $value) {
$this
->assertSession()
->elementAttributeContains('css', $selector, $attribute, $value);
}