Commit 7af7c7dd authored by Ramya Authappan's avatar Ramya Authappan

Merge branch 'project_security_dashboard_login_fix' into 'master'

Fix for project_security_dashboard_spec

Closes #233362

See merge request gitlab-org/gitlab!38509
parents 3aa6a040 2cea1fe8
...@@ -60,10 +60,9 @@ module QA ...@@ -60,10 +60,9 @@ module QA
end end
it 'shows vulnerability details' do it 'shows vulnerability details' do
Flow::Login.sign_in_unless_signed_in
@project.visit! @project.visit!
Support::Retrier.retry_on_exception do
Page::Project::Menu.perform(&:click_on_security_dashboard) Page::Project::Menu.perform(&:click_on_security_dashboard)
end
EE::Page::Project::Secure::SecurityDashboard.perform do |security_dashboard| EE::Page::Project::Secure::SecurityDashboard.perform do |security_dashboard|
expect(security_dashboard).to have_vulnerability(description: vulnerability_name) expect(security_dashboard).to have_vulnerability(description: 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