Commit e5e5ec56 authored by Ryan Herbert's avatar Ryan Herbert
Browse files

test_sample.rb delete break after first button.

Since we now have completed tasks in our samples, there are two buttons
that match our criteria to find the delete button. So we need to ensure
only the first one is clicked
parent dad55799
......@@ -118,6 +118,7 @@ class TestSample < BrowserTest
del = c.i(:class => "icon-erase")
if del.present?
del.click
break
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