protected function LiveblogTest::liveblogSetTitle in Thunder 8.2
Same name and namespace in other branches
- 8.3 tests/src/FunctionalJavascript/Integration/LiveblogTest.php \Drupal\Tests\thunder\FunctionalJavascript\Integration\LiveblogTest::liveblogSetTitle()
- 8.4 tests/src/FunctionalJavascript/Integration/LiveblogTest.php \Drupal\Tests\thunder\FunctionalJavascript\Integration\LiveblogTest::liveblogSetTitle()
- 6.0.x tests/src/FunctionalJavascript/Integration/LiveblogTest.php \Drupal\Tests\thunder\FunctionalJavascript\Integration\LiveblogTest::liveblogSetTitle()
- 6.1.x tests/src/FunctionalJavascript/Integration/LiveblogTest.php \Drupal\Tests\thunder\FunctionalJavascript\Integration\LiveblogTest::liveblogSetTitle()
Set the title of a liveblog post.
Parameters
\Behat\Mink\Element\DocumentElement $page: Current active page.
string $title: The title.
1 call to LiveblogTest::liveblogSetTitle()
- LiveblogTest::testWithPusher in tests/
src/ FunctionalJavascript/ Integration/ LiveblogTest.php - Testing of module integration.
File
- tests/
src/ FunctionalJavascript/ Integration/ LiveblogTest.php, line 30
Class
- LiveblogTest
- Testing integration of "liveblog" module.
Namespace
Drupal\Tests\thunder\FunctionalJavascript\IntegrationCode
protected function liveblogSetTitle(DocumentElement $page, $title) {
$this
->setFieldValue($page, 'title[0][value]', $title);
}