You are here

public function ThunderJavascriptTestBase::runCron in Thunder 8.4

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

Execute Cron over UI.

1 call to ThunderJavascriptTestBase::runCron()
MetaInformationTest::testArticleScheduling in tests/src/FunctionalJavascript/MetaInformationTest.php
Test Scheduling of Article.

File

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

Class

ThunderJavascriptTestBase
Base class for Thunder Javascript functional tests.

Namespace

Drupal\Tests\thunder\FunctionalJavascript

Code

public function runCron() {
  $this
    ->drupalGet('admin/config/system/cron');
  $this
    ->getSession()
    ->getPage()
    ->find('xpath', '//input[@name="op"]')
    ->click();
}