You are here

public function ForcePasswordChangeBrowserTestBase::assertElementAttributeContains in Force Password Change 8

Same name and namespace in other branches
  1. 2.0.x tests/src/Functional/ForcePasswordChangeBrowserTestBase.php \Drupal\Tests\force_password_change\Functional\ForcePasswordChangeBrowserTestBase::assertElementAttributeContains()
2 calls to ForcePasswordChangeBrowserTestBase::assertElementAttributeContains()
ForcePasswordChangeBrowserTestBase::assertCheckboxExists in tests/src/Functional/ForcePasswordChangeBrowserTestBase.php
ForcePasswordChangeBrowserTestBase::assertRadioExists in tests/src/Functional/ForcePasswordChangeBrowserTestBase.php

File

tests/src/Functional/ForcePasswordChangeBrowserTestBase.php, line 42

Class

ForcePasswordChangeBrowserTestBase
Provides some helper functions for functional tests.

Namespace

Drupal\Tests\force_password_change\Functional

Code

public function assertElementAttributeContains($selector, $attribute, $value) {
  $this
    ->assertSession()
    ->elementAttributeContains('css', $selector, $attribute, $value);
}