Commit 243c3079 authored by Will Meek's avatar Will Meek

Update test for commit diff

This addresses https://gitlab.com/gitlab-org/gitlab/-/issues/301088
A recent commit changed the behaviour of commit diff
This MR changes the click_element to visit_link_in_element
parent 2b5f958e
...@@ -14,12 +14,12 @@ module QA ...@@ -14,12 +14,12 @@ module QA
def select_email_patches def select_email_patches
click_element :options_button click_element :options_button
click_element :email_patches visit_link_in_element :email_patches
end end
def select_plain_diff def select_plain_diff
click_element :options_button click_element :options_button
click_element :plain_diff visit_link_in_element :plain_diff
end end
def commit_sha def commit_sha
......
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