class ParagraphsClientsideButtonsClaroTest

Test paragraphs user interface.

@group paragraphs

Hierarchy

Expanded class hierarchy of ParagraphsClientsideButtonsClaroTest

File

paragraphs/tests/src/FunctionalJavascript/ParagraphsClientsideButtonsClaroTest.php, line 16

Namespace

Drupal\Tests\paragraphs\FunctionalJavascript
View source
class ParagraphsClientsideButtonsClaroTest extends ParagraphsClientsideButtonsTest {

  /**
   * {@inheritdoc}
   */
  protected $defaultTheme = 'claro';

  /**
   * {@inheritdoc}
   */
  protected function placeDefaultBlocks() {

    // Claro has all blocks by default, prevent them from being placed twice.
  }

}

Members

Namesort descending Modifiers Type Description Overrides
LoginAdminTrait::$admin_user protected property Drupal user object created by loginAsAdmin().
LoginAdminTrait::loginAsAdmin public function Creates an user with admin permissions and log in.
ParagraphsClientsideButtonsClaroTest::$defaultTheme protected property Overrides ParagraphsClientsideButtonsTest::$defaultTheme
ParagraphsClientsideButtonsClaroTest::placeDefaultBlocks protected function Places commonly used blocks in a consistent order. Overrides ParagraphsCoreVersionUiTestTrait::placeDefaultBlocks
ParagraphsClientsideButtonsTest::$modules protected static property
ParagraphsClientsideButtonsTest::setUp protected function
ParagraphsClientsideButtonsTest::testAddParagraphAboveButton public function Tests the "Add above" button.
ParagraphsLastEntityQueryTrait::getLastEntityOfType protected function Gets the latest entity created of a given type.
ParagraphsTestBaseTrait::$workflow protected property The workflow entity.
ParagraphsTestBaseTrait::addFieldtoParagraphType protected function Adds a field to a given paragraph type.
ParagraphsTestBaseTrait::addParagraphedContentType protected function Adds a content type with a Paragraphs field.
ParagraphsTestBaseTrait::addParagraphsField protected function Adds a Paragraphs field to a given entity type.
ParagraphsTestBaseTrait::addParagraphsType protected function Adds a Paragraphs type.
ParagraphsTestBaseTrait::addParagraphsTypeIcon protected function Adds an icon to a paragraphs type.
ParagraphsTestBaseTrait::coreVersion protected function Checks the core version.
ParagraphsTestBaseTrait::createEditorialWorkflow protected function Creates a workflow entity.
ParagraphsTestBaseTrait::setParagraphsWidgetSettings protected function Sets some of the settings of a paragraphs field widget.