From 68891e5a997073696e857cd92cf33e8bbcc6bc4a Mon Sep 17 00:00:00 2001 From: marco Date: Thu, 23 Jan 2014 12:35:58 -0500 Subject: [PATCH] updated static pages tests to reflect html element change in component.html --- cms/djangoapps/contentstore/features/static-pages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)