You are here

protected function ParagraphSplitTest::getCkEditorCssSelector in Thunder 8.2

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

Create css selector for paragraph with the given delta.

Parameters

int $paragraphDelta: The delta of the paragraph.

Return value

string Css selector for the paragraph.

3 calls to ParagraphSplitTest::getCkEditorCssSelector()
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 149

Class

ParagraphSplitTest
Tests the paragraph split module integration.

Namespace

Drupal\Tests\thunder\FunctionalJavascript\Integration

Code

protected function getCkEditorCssSelector($paragraphDelta) {
  return sprintf(static::$selectorTemplate, static::$paragraphsField, $paragraphDelta);
}