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

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
# select first patient
lines[index].td(:index => 0).click
Watir::Wait.until(30) {$b.execute_script("return") == 0}
# check that list of samples is loaded
table = $b.table(:id => "table")
Supports Markdown
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