diff --git a/tests/features/panopoly_magic/add_content_preview.feature b/tests/features/panopoly_magic/add_content_preview.feature index 266d0e6..19583b3 100644 --- a/tests/features/panopoly_magic/add_content_preview.feature +++ b/tests/features/panopoly_magic/add_content_preview.feature @@ -49,7 +49,7 @@ Feature: Preview of widgets on 'Add content' dialog And I click "Add new pane" And I click "Panopoly Test" in the "CTools modal" region Then I should not see "Abracadabra! Here is a simple pane." - And I should see "Add Simple Pane" in the "div" element with the "class" attribute set to "panopoly-magic-preview-title" in the "CTools modal" region + And I should see the link "Preview Simple Pane widget" in the "CTools modal" region When I click "Preview Simple Pane widget" in the "CTools modal" region Then I should see "Abracadabra! Here is a simple pane." When I click "A simple pane for testing." in the "CTools modal" region