You are here

protected function ParagraphSplitTest::clickParagraphSplitButton in Thunder 8.5

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

Click on split button.

3 calls to ParagraphSplitTest::clickParagraphSplitButton()
ParagraphSplitTest::testAddParagraphAfterSplitDataLoss in tests/src/FunctionalJavascript/Integration/ParagraphSplitTest.php
Test if a adding paragraph after split leads to data loss.
ParagraphSplitTest::testParagraphSplitBefore in tests/src/FunctionalJavascript/Integration/ParagraphSplitTest.php
Test split of paragraph before a selection.
ParagraphSplitTest::testParagraphSplitDataLoss in tests/src/FunctionalJavascript/Integration/ParagraphSplitTest.php
Test if a deleted paragraph leads to data loss.

File

tests/src/FunctionalJavascript/Integration/ParagraphSplitTest.php, line 136

Class

ParagraphSplitTest
Tests the paragraph split module integration.

Namespace

Drupal\Tests\thunder\FunctionalJavascript\Integration

Code

protected function clickParagraphSplitButton() {
  $this
    ->getSession()
    ->executeScript("jQuery('.cke_button__splittext')[0].click();");
}