Commit b347d7a1 authored by Kyle Wiebers's avatar Kyle Wiebers

Merge branch 'sec_rep_spec_tool_dropdown_fix' into 'master'

Fix for Security Reports Spec

See merge request gitlab-org/gitlab!68271
parents 7a42426d 6e15905b
......@@ -23,12 +23,12 @@ module QA
end
def filter_report_type(report)
click_element(:filter_scanner_dropdown)
click_element(:filter_tool_dropdown)
click_element "filter_#{report.downcase.tr(" ", "_")}_dropdown"
# Click the dropdown to close the modal and ensure it isn't open if this function is called again
click_element(:filter_scanner_dropdown)
click_element(:filter_tool_dropdown)
end
def has_vulnerability?(name)
......
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