protected function ParagraphSplitTest::clickParagraphSplitButton in Thunder 6.1.x
Same name and namespace in other branches
- 8.5 tests/src/FunctionalJavascript/Integration/ParagraphSplitTest.php \Drupal\Tests\thunder\FunctionalJavascript\Integration\ParagraphSplitTest::clickParagraphSplitButton()
- 8.2 tests/src/FunctionalJavascript/Integration/ParagraphSplitTest.php \Drupal\Tests\thunder\FunctionalJavascript\Integration\ParagraphSplitTest::clickParagraphSplitButton()
- 8.3 tests/src/FunctionalJavascript/Integration/ParagraphSplitTest.php \Drupal\Tests\thunder\FunctionalJavascript\Integration\ParagraphSplitTest::clickParagraphSplitButton()
- 8.4 tests/src/FunctionalJavascript/Integration/ParagraphSplitTest.php \Drupal\Tests\thunder\FunctionalJavascript\Integration\ParagraphSplitTest::clickParagraphSplitButton()
- 6.2.x tests/src/FunctionalJavascript/Integration/ParagraphSplitTest.php \Drupal\Tests\thunder\FunctionalJavascript\Integration\ParagraphSplitTest::clickParagraphSplitButton()
- 6.0.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\IntegrationCode
protected function clickParagraphSplitButton() {
$this
->getSession()
->executeScript("jQuery('.cke_button__splittext')[0].click();");
}