protected function ParagraphsFeaturesDeleteConfirmationTest::enableDeleteConfirmation in Paragraphs Features 2.x
Same name and namespace in other branches
- 8 tests/src/FunctionalJavascript/ParagraphsFeaturesDeleteConfirmationTest.php \Drupal\Tests\paragraphs_features\FunctionalJavascript\ParagraphsFeaturesDeleteConfirmationTest::enableDeleteConfirmation()
Enable the delete confirmation setting.
2 calls to ParagraphsFeaturesDeleteConfirmationTest::enableDeleteConfirmation()
- ParagraphsFeaturesDeleteConfirmationTest::testCkEditorAfterCancel in tests/
src/ FunctionalJavascript/ ParagraphsFeaturesDeleteConfirmationTest.php - This is test mainly to cover problem with initialization of CKEditor.
- ParagraphsFeaturesDeleteConfirmationTest::testDeleteConfirmation in tests/
src/ FunctionalJavascript/ ParagraphsFeaturesDeleteConfirmationTest.php - Test display of delete confirmation.
File
- tests/
src/ FunctionalJavascript/ ParagraphsFeaturesDeleteConfirmationTest.php, line 195
Class
- ParagraphsFeaturesDeleteConfirmationTest
- Test display delete confirmation.
Namespace
Drupal\Tests\paragraphs_features\FunctionalJavascriptCode
protected function enableDeleteConfirmation($content_type) {
$currentUrl = $this
->getSession()
->getCurrentUrl();
$this
->toggleDeleteConfirmation($content_type, 'check');
$this
->drupalGet($currentUrl);
}