AutorÃa | Ultima modificación | Ver Log |
@block @block_html @core_blockFeature: Adding and configuring Text blocksIn order to have custom blocks on a pageAs adminI need to be able to create, configure and change Text blocks@javascriptScenario: Configuring the Text block with Javascript onGiven I log in as "admin"And I am on site homepageWhen I turn editing mode onAnd I add the "Text" block to the default region with:| Text block title | || Content | Static text without a header |Then I should not see "(new text block)"And I configure the "block_html" blockAnd I set the field "Text block title" to "The Text block header"And I set the field "Content" to "Static text with a header"And I press "Save changes"And "block_html" "block" should existAnd "The Text block header" "block" should existAnd I should see "Static text with a header" in the "The Text block header" "block"Scenario: Configuring the Text block with Javascript offGiven I log in as "admin"And I am on site homepageWhen I turn editing mode onAnd I add the "Text" blockAnd I configure the "(new text block)" blockAnd I set the field "Content" to "Static text without a header"And I press "Save changes"Then I should not see "(new text block)"And I configure the "block_html" blockAnd I set the field "Text block title" to "The Text block header"And I set the field "Content" to "Static text with a header"And I press "Save changes"And "block_html" "block" should existAnd "The Text block header" "block" should existAnd I should see "Static text with a header" in the "The Text block header" "block"