Skip to content

Commit

Permalink
Merge pull request #26613 from code-dot-org/revert-26549-selenium-tim…
Browse files Browse the repository at this point in the history
…eout

Revert "Selenium - update deprecated timeout step"
  • Loading branch information
davidsbailey committed Jan 16, 2019
2 parents f220163 + e215c7b commit ba6d5cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dashboard/test/ui/features/step_definitions/applab.rb
Expand Up @@ -61,17 +61,17 @@
end

And /^I wait to see Applab design mode$/ do
wait = Selenium::WebDriver::Wait.new(open_timeout: 10)
wait = Selenium::WebDriver::Wait.new(timeout: 10)
wait.until {@browser.execute_script("return $('#designWorkspace').css('display') == 'block';")}
end

And /^I wait to see Applab data mode$/ do
wait = Selenium::WebDriver::Wait.new(open_timeout: 10)
wait = Selenium::WebDriver::Wait.new(timeout: 10)
wait.until {@browser.execute_script("return $('#dataWorkspaceWrapper').css('display') == 'block';")}
end

And /^I wait to see Applab code mode$/ do
wait = Selenium::WebDriver::Wait.new(open_timeout: 30)
wait = Selenium::WebDriver::Wait.new(timeout: 30)
wait.until {@browser.execute_script("return $('#codeWorkspaceWrapper').css('display') == 'block';")}
end

Expand Down

0 comments on commit ba6d5cc

Please sign in to comment.