Skip to content
代码片段 群组 项目
未验证 提交 2e94ced5 编辑于 作者: Andrejs Cunskis's avatar Andrejs Cunskis 提交者: GitLab
浏览文件

Merge branch 'hm-fix-flaky-security-reports-spec' into 'master'

Add reload to fix flaky vulnerability tool filter spec

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/164814



Merged-by: default avatarAndrejs Cunskis <acunskis@gitlab.com>
Approved-by: default avatarJay McCure <jmccure@gitlab.com>
Approved-by: default avatarAndrejs Cunskis <acunskis@gitlab.com>
Co-authored-by: default avatarhmuralidhar <hmuralidhar@gitlab.com>
No related branches found
No related tags found
无相关合并请求
......@@ -109,11 +109,7 @@ module QA
end
it 'displays security reports in the project security dashboard',
testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348037',
quarantine: {
type: :flaky,
issue: "https://gitlab.com/gitlab-org/gitlab/-/issues/480927"
} do
testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348037' do
push_security_reports
project.visit!
wait_for_pipeline_success
......@@ -261,7 +257,11 @@ def validate_dependency_list(expected_count_of_dependencies)
end
def filter_report_and_perform(page:, filter_report:)
page.filter_report_type(filter_report)
Support::Retrier.retry_on_exception(sleep_interval: 1,
reload_page: page, message: 'Tool Dropdown selection') do
page.filter_report_type(filter_report)
end
yield
if page.has_element?("filtered-search-term", wait: 1)
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册