You are here

protected function ThunderJavascriptTestBase::clickSave in Thunder 8.5

Same name and namespace in other branches
  1. 8.2 tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php \Drupal\Tests\thunder\FunctionalJavascript\ThunderJavascriptTestBase::clickSave()
  2. 8.3 tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php \Drupal\Tests\thunder\FunctionalJavascript\ThunderJavascriptTestBase::clickSave()
  3. 8.4 tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php \Drupal\Tests\thunder\FunctionalJavascript\ThunderJavascriptTestBase::clickSave()
  4. 6.2.x tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php \Drupal\Tests\thunder\FunctionalJavascript\ThunderJavascriptTestBase::clickSave()
  5. 6.0.x tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php \Drupal\Tests\thunder\FunctionalJavascript\ThunderJavascriptTestBase::clickSave()
  6. 6.1.x tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php \Drupal\Tests\thunder\FunctionalJavascript\ThunderJavascriptTestBase::clickSave()

Click article save.

22 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.

... See full list

File

tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php, line 386

Class

ThunderJavascriptTestBase
Base class for Thunder Javascript functional tests.

Namespace

Drupal\Tests\thunder\FunctionalJavascript

Code

protected function clickSave() {
  $page = $this
    ->getSession()
    ->getPage();
  $page
    ->find('xpath', '//div[@data-drupal-selector="edit-actions"]/input[@id="edit-submit"]')
    ->click();
}