diff --git a/tests/features/text_widget.feature b/tests/features/text_widget.feature index 32b4f4f..aa3d1a8 100644 --- a/tests/features/text_widget.feature +++ b/tests/features/text_widget.feature @@ -21,3 +21,18 @@ Feature: Add text widget And I wait for the Panels IPE to deactivate Then I should see "Text widget title" And I should see "Testing text body field" + + @api @javascript @panopoly_widgets + Scenario: Make text widget title a link + Given I am logged in as a user with the "administrator" role + And Panopoly magic live previews are automatic + And I am viewing a landing page + When I customize this page with the Panels IPE + And I click "Add new pane" + And I click "Add text" in the "CTools modal" region + Then I should see "Configure new Add text" + When I fill in the following: + | Title | Here's a title | + And I check the box "Make title a link" + And I wait for AJAX to finish + Then I should see "Here's a title"