Commit d460eb62 by Ben Patterson

Merge pull request #11075 from edx/benp/fix-flaky-hello

Fix flaky condition.
parents 1599ae2f 056158d7
...@@ -12,12 +12,14 @@ def go_to_updates(_step): ...@@ -12,12 +12,14 @@ def go_to_updates(_step):
updates_css = 'li.nav-course-courseware-updates a' updates_css = 'li.nav-course-courseware-updates a'
world.css_click(menu_css) world.css_click(menu_css)
world.css_click(updates_css) world.css_click(updates_css)
world.wait_for_visible('#course-handouts-view')
@step(u'I add a new update with the text "([^"]*)"$') @step(u'I add a new update with the text "([^"]*)"$')
def add_update(_step, text): def add_update(_step, text):
update_css = 'a.new-update-button' update_css = 'a.new-update-button'
world.css_click(update_css) world.css_click(update_css)
world.wait_for_visible('.CodeMirror')
change_text(text) change_text(text)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment