move dialog
TNL-6047
This commit is contained in:
committed by
Mushtaq Ali
parent
52f8c9763a
commit
1b011af7e2
@@ -129,8 +129,8 @@ def edit_component(index=0):
|
||||
# Verify that the "loading" indication has been hidden.
|
||||
world.wait_for_loading()
|
||||
# Verify that the "edit" button is present.
|
||||
world.wait_for(lambda _driver: world.css_visible('a.edit-button'))
|
||||
world.css_click('a.edit-button', index)
|
||||
world.wait_for(lambda _driver: world.css_visible('.edit-button'))
|
||||
world.css_click('.edit-button', index)
|
||||
world.wait_for_ajax_complete()
|
||||
|
||||
|
||||
|
||||
@@ -38,7 +38,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 = 'ul.component-actions a.%s-button' % edit_or_delete
|
||||
button_css = 'ul.component-actions .%s-button' % edit_or_delete
|
||||
world.css_click(button_css)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user