Skip to content
代码片段 群组 项目
未验证 提交 35c0e5a2 编辑于 作者: Desiree Chevalier's avatar Desiree Chevalier
浏览文件

Fix value stream e2e specs

上级 bc93d3cf
No related branches found
No related tags found
无相关合并请求
......@@ -125,6 +125,10 @@ def lifecycle_metric(type)
end
end
def collecting_data?
has_element?('.gl-alert-title', text: 'Data is collecting and loading.')
end
private
# Select type of value stream
......
......@@ -11,7 +11,12 @@ module QA
it "shows vsa dashboard" do
EE::Page::Group::ValueStreamAnalytics.perform do |vsa_page|
expect(vsa_page).to have_stages(stage_names)
expect(vsa_page).to have_text("'#{vsa_name}' is collecting the data. This can take a few minutes.")
if vsa_page.collecting_data?
expect(vsa_page).to have_text("'#{vsa_name}' is collecting the data. This can take a few minutes.")
else
expect(vsa_page).to have_text("'#{vsa_name}' Value Stream has been successfully created.")
end
end
end
end
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册