Commit e0b4fc58 authored by Anastasia McDonald's avatar Anastasia McDonald

Fix failing clone_push_pull snippet tests

Change add_to_file_content method
To use send_keys so that it adds text
in addition to the existing one

See https://gitlab.com/gitlab-org/gitlab/-/issues/335318
parent 7bd32bfe
......@@ -23,7 +23,8 @@ module QA
end
def add_to_file_content(content)
text_area.set content
text_area.click
text_area.send_keys(:home, content) # starts in the beginning of the line
text_area.has_text?(content) # wait for changes to take effect
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