Skip to content
Snippets Groups Projects
Commit 2878bffe authored by Ramya Authappan's avatar Ramya Authappan
Browse files

Merge branch 'ml-qa-remove-wait-for-loading' into 'master'

Remove wait_for_loading duplicate method

See merge request gitlab-org/gitlab!52986
parents d9537e09 5abc08fd
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -162,10 +162,6 @@ def type_reply_to_discussion(position, reply_text)
fill_element :reply_field, reply_text
end
 
def wait_for_loading
has_no_element?(:skeleton_note_placeholer)
end
private
 
def select_filter_with_text(text)
Loading
Loading
@@ -174,7 +170,7 @@ def select_filter_with_text(text)
click_element :discussion_filter_dropdown
find_element(:filter_menu_item, text: text).click
 
wait_for_loading
wait_for_requests
end
end
end
Loading
Loading
Loading
Loading
@@ -162,15 +162,12 @@ def add_comment_to_diff(text)
def click_discussions_tab
click_element(:notes_tab)
 
wait_for_loading
wait_for_requests
end
 
def click_diffs_tab
click_element(:diffs_tab)
wait_for_loading
click_element(:dismiss_popover_button) if has_element?(:dismiss_popover_button)
click_element(:dismiss_popover_button) if has_element?(:dismiss_popover_button, wait: 1)
end
 
def click_pipeline_link
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment