Commit f3036490 by Jay Zoldak

Speed up lti acceptance test for remote webdriver.

parent 761590bc
......@@ -22,7 +22,10 @@ def lti_is_not_rendered(_step):
#inside iframe test content is not presented
with world.browser.get_iframe('ltiLaunchFrame') as iframe:
# iframe does not contain functions from terrain/ui_helpers.py
assert iframe.is_element_not_present_by_css('.result', wait_time=5)
world.browser.driver.implicitly_wait(1)
result = iframe.is_element_not_present_by_css('.result', wait_time=1)
world.browser.driver.implicitly_wait(world.IMPLICIT_WAIT)
assert result
@step('I view the LTI and it is rendered$')
......
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