Commit 87bddf37 authored by ddavison's avatar ddavison

Check for a single line number instead of arbitrary text

parent a4b0530c
......@@ -131,7 +131,7 @@ module QA
def add_comment_to_diff(text)
wait_until(sleep_interval: 5) do
has_text?("No newline at end of file")
has_css?('a[data-linenumber="1"]')
end
all_elements(:new_diff_line, minimum: 1).first.hover
click_element(:diff_comment)
......
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