Commit 6ceb50fb authored by Ryan Herbert's avatar Ryan Herbert
Browse files

test_002_sample_set.rb add some waiting between queries

parent 3ae273d3
Pipeline #35415 passed with stages
in 4 minutes and 41 seconds
......@@ -19,6 +19,7 @@ class TestSampleSet < BrowserTest
def go_to_list
#$b.a(:class => ["button", "button_token", "patient_token"], :text => "patients").click
$b.a(:class => "button button_token patient_token", :text => "patients").click
Watir::Wait.until(30) {$b.execute_script("return jQuery.active") == 0}
table = $b.table(:id => "table")
table.wait_until_present
table
......@@ -87,6 +88,7 @@ class TestSampleSet < BrowserTest
info.set("#edited")
form.input(:type => "submit").click
Watir::Wait.until(30) {$b.execute_script("return jQuery.active") == 0}
table = $b.table(:id => 'table')
table.wait_until_present
table = go_to_list
......
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