Commit 6996851b authored by Ryan Herbert's avatar Ryan Herbert
Browse files

test_sample_set.rb delete, select by info, not by index.

Found another crappy test thanks to random order. In some cases, the
patient needed for the edit test was being deleted before the test could
execute. So selecting a specific patient for the delete test should make
things more robust.
parent 4746abb8
Pipeline #35913 failed with stages
in 4 minutes and 18 seconds
......@@ -103,7 +103,8 @@ class TestSampleSet < BrowserTest
count = table.tbody.rows.count
# click delete button for first line in table
table.i(:class => "icon-erase", :index => 1).click
line = => /test patient 4/).parent
line.i(:class => "icon-erase").click
delete_button = $b.button(:text => "delete")
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