Commit 4746abb8 authored by Ryan Herbert's avatar Ryan Herbert

test_sample.rb go_to_set click first cell

Watir was clicking on the get_results link (in the centre or the rows)
which was causing issues with the tests. Clicking the first cell of the
line ensures that no link is being clicked.
parent 00ba154e
Pipeline #35907 failed with stages
in 4 minutes and 32 seconds
......@@ -30,7 +30,7 @@ class TestSample < BrowserTest
lines = table.tbody.rows
lines[index].wait_until_present
# select first patient
lines[index].click
lines[index].td(:index => 0).click
Watir::Wait.until(30) {$b.execute_script("return jQuery.active") == 0}
# check that list of samples is loaded
table = $b.table(:id => "table")
......
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