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

Merge branch 'e2e-migrate-storage-limit-alert-from-chemlab' into 'master'

E2E: Migrate QA::Page::Alert::StorageLimit from Chemlab

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



Merged-by: default avatarAnastasia McDonald <amcdonald@gitlab.com>
Approved-by: default avatarStanislav Lashmanov <slashmanov@gitlab.com>
Approved-by: default avatarAlex Pooley <apooley@gitlab.com>
Approved-by: default avatarAnastasia McDonald <amcdonald@gitlab.com>
Co-authored-by: default avatarValerie Burton <vburton@gitlab.com>
No related branches found
No related tags found
无相关合并请求
......@@ -7,7 +7,7 @@
dismiss_endpoint: alert_callout_path,
group_id: root_namespace_id,
defer_links: "true",
testid: 'storage-limit-message' }}) do |c|
testid: 'storage-limit-alert-content' }}) do |c|
= c.with_body do
- alert_message.each do |paragraph|
%p
......
# frozen_string_literal: true
module QA
module EE
module Page
module Alert
class StorageLimit < QA::Page::Base
view 'ee/app/components/namespaces/storage/limit_alert_component.html.haml' do
element 'storage-limit-alert-content'
end
def storage_limit_message
find_element('storage-limit-alert-content').text
end
end
end
end
end
end
# frozen_string_literal: true
module QA
module Page
module Alert
class StorageLimit < Chemlab::Page
element :storage_limit_message
end
end
end
end
......@@ -92,7 +92,7 @@ module QA
end
def expect_storage_limit_message(message, error_message)
Page::Alert::StorageLimit.perform do |storage_limit_alert|
EE::Page::Alert::StorageLimit.perform do |storage_limit_alert|
Support::Retrier.retry_until(
max_duration: 300,
sleep_interval: 10,
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册