protected function ThunderJavascriptTestBase::clickSave in Thunder 8.2
Same name and namespace in other branches
- 8.5 tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php \Drupal\Tests\thunder\FunctionalJavascript\ThunderJavascriptTestBase::clickSave()
- 8.3 tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php \Drupal\Tests\thunder\FunctionalJavascript\ThunderJavascriptTestBase::clickSave()
- 8.4 tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php \Drupal\Tests\thunder\FunctionalJavascript\ThunderJavascriptTestBase::clickSave()
- 6.2.x tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php \Drupal\Tests\thunder\FunctionalJavascript\ThunderJavascriptTestBase::clickSave()
- 6.0.x tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php \Drupal\Tests\thunder\FunctionalJavascript\ThunderJavascriptTestBase::clickSave()
- 6.1.x tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php \Drupal\Tests\thunder\FunctionalJavascript\ThunderJavascriptTestBase::clickSave()
Click article save.
18 calls to ThunderJavascriptTestBase::clickSave()
- AccessUnpublishedTest::testAccessUnpublished in tests/
src/ FunctionalJavascript/ Integration/ AccessUnpublishedTest.php - Testing integration of "access_unpublished" module.
- ArticleCreationTest::testCreateArticle in tests/
src/ FunctionalJavascript/ ArticleCreationTest.php - Test Creation of Article.
- ArticleCreationTest::testCreateArticleWithNoModeration in tests/
src/ FunctionalJavascript/ ArticleCreationTest.php - Test Creation of Article without content moderation.
- ArticleCreationTest::testModerationWorkflow in tests/
src/ FunctionalJavascript/ ArticleCreationTest.php - Tests draft creation and that reverting to the default revision works.
- ArticleSchedulerIntegration::testSchedulerAccess in tests/
src/ FunctionalJavascript/ ArticleSchedulerIntegration.php - Test Creation of Article.
1 method overrides ThunderJavascriptTestBase::clickSave()
- MediaImageModifyTest::clickSave in tests/
src/ FunctionalJavascript/ MediaImageModifyTest.php - Click article save option based on index of action.
File
- tests/
src/ FunctionalJavascript/ ThunderJavascriptTestBase.php, line 378
Class
- ThunderJavascriptTestBase
- Base class for Thunder Javascript functional tests.
Namespace
Drupal\Tests\thunder\FunctionalJavascriptCode
protected function clickSave() {
$page = $this
->getSession()
->getPage();
$page
->find('xpath', '//div[@data-drupal-selector="edit-actions"]/input[@id="edit-submit"]')
->click();
}