protected function EntityBrowserWebDriverTestBase::assertRadioNotExistsByValue in Entity Browser 8
Same name and namespace in other branches
- 8.2 tests/src/FunctionalJavascript/EntityBrowserWebDriverTestBase.php \Drupal\Tests\entity_browser\FunctionalJavascript\EntityBrowserWebDriverTestBase::assertRadioNotExistsByValue()
Checks that a specific radio input element does not exist on the current page.
Parameters
string $value: The string value of the radio element.
Return value
\Behat\Mink\Element\NodeElement The radio input form element.
Throws
\Behat\Mink\Exception\ElementNotFoundException
3 calls to EntityBrowserWebDriverTestBase::assertRadioNotExistsByValue()
- CardinalityTest::testEntityEmbed in tests/
src/ FunctionalJavascript/ CardinalityTest.php - Tests cardinality functionality using Entity Embed button.
- CardinalityTest::testEntityReferenceWidget in tests/
src/ FunctionalJavascript/ CardinalityTest.php - Tests Entity Reference widget.
- CardinalityTest::testInlineEntityForm in tests/
src/ FunctionalJavascript/ CardinalityTest.php - Tests cardinality functionality using Inline Entity Form.
File
- tests/
src/ FunctionalJavascript/ EntityBrowserWebDriverTestBase.php, line 264
Class
- EntityBrowserWebDriverTestBase
- Base class for Entity browser Javascript functional tests.
Namespace
Drupal\Tests\entity_browser\FunctionalJavascriptCode
protected function assertRadioNotExistsByValue($value) {
$value = (string) $value;
return $this
->assertSession()
->elementNotExists('xpath', "//input[contains(@type, 'radio') and contains(@value, '" . $value . "')]");
}