Commit 02dd8edf authored by Ryan Herbert's avatar Ryan Herbert
Browse files

test_003_sample.rb test run get table after query.

when changing the config for launching a run we wait for a query. So we
also need to query the table again
parent 68cda129
Pipeline #33789 failed with stages
in 4 minutes and 19 seconds
...@@ -133,6 +133,11 @@ class TestSample < BrowserTest ...@@ -133,6 +133,11 @@ class TestSample < BrowserTest
lines[0].wait_until_present lines[0].wait_until_present
lines[0].i(:class => "icon-cog-2").click lines[0].i(:class => "icon-cog-2").click
Watir::Wait.until(30) {$b.execute_script("return jQuery.active") == 0} Watir::Wait.until(30) {$b.execute_script("return jQuery.active") == 0}
table = $b.table(:id => "table")
table.wait_until_present
lines = table.tbody.rows
lines[0].wait_until_present
assert(lines[0].td(:text => "QUEUED").present?) assert(lines[0].td(:text => "QUEUED").present?)
end end
......
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