You are here

function ParagraphsPackFeatureWebTestCase::click_add_paragraph_button in Paragraphs pack 7

Click 'Add a Paragraph' button.

1 call to ParagraphsPackFeatureWebTestCase::click_add_paragraph_button()
ParagraphsPackFeatureWebTestCase::check_view_mode_options in tests/paragraphs_pack.test_helper.inc

File

tests/paragraphs_pack.test_helper.inc, line 93
Paragraphs pack content module's tests.

Class

ParagraphsPackFeatureWebTestCase
Class ParagraphsPackWebTestCase

Code

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