You are here

function ParagraphsIdTestCase::clickAddParagraphButton in Paragraphs ID 7

Click 'Add a Paragraph' button.

1 call to ParagraphsIdTestCase::clickAddParagraphButton()
ParagraphsIdTestCase::createNewTestNode in tests/paragraphs_id.test
Create new test node.

File

tests/paragraphs_id.test, line 68
Paragraphs pack primary module's tests.

Class

ParagraphsIdTestCase
Class ParagraphsIdTestCase

Code

function clickAddParagraphButton() {
  $button_name = 'field_pp_test_paragraphs_add_more_add_more';
  $this
    ->drupalPostAJAX(NULL, array(), $button_name);
}