diff --git a/cms/djangoapps/contentstore/features/static-pages.py b/cms/djangoapps/contentstore/features/static-pages.py index 0adb4b1e54..250764f0c9 100644 --- a/cms/djangoapps/contentstore/features/static-pages.py +++ b/cms/djangoapps/contentstore/features/static-pages.py @@ -34,7 +34,7 @@ def not_see_any_static_pages(step): @step(u'I "(edit|delete)" the static page$') def click_edit_or_delete(step, edit_or_delete): - button_css = 'div.component-actions a.%s-button' % edit_or_delete + button_css = 'ul.component-actions a.%s-button' % edit_or_delete world.css_click(button_css)