summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-07-24 15:09:39 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-07-24 15:09:39 +0000
commit19c226e24223cff35c4a83b7bbe810180e66c808 (patch)
tree3d831484330166241ef6dbb8c6e67d3ce7e9ee9e /qa
parent0c27b33a8d0e2582b09579676677df5eaebfdbe2 (diff)
downloadgitlab-ce-19c226e24223cff35c4a83b7bbe810180e66c808.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/page/project/issue/index.rb21
-rw-r--r--qa/qa/service/docker_run/gitlab_runner.rb2
2 files changed, 10 insertions, 13 deletions
diff --git a/qa/qa/page/project/issue/index.rb b/qa/qa/page/project/issue/index.rb
index e0c10220fbc..0a64f01fe98 100644
--- a/qa/qa/page/project/issue/index.rb
+++ b/qa/qa/page/project/issue/index.rb
@@ -5,8 +5,14 @@ module QA
module Project
module Issue
class Index < Page::Base
- view 'app/helpers/projects_helper.rb' do
+ view 'app/assets/javascripts/issuables_list/components/issuable.vue' do
+ element :issue_container
+ element :issue_link
+ end
+
+ view 'app/assets/javascripts/vue_shared/components/issue/issue_assignees.vue' do
element :assignee_link
+ element :avatar_counter_content
end
view 'app/views/projects/issues/export_csv/_button.html.haml' do
@@ -23,21 +29,12 @@ module QA
element :import_from_jira_link
end
- view 'app/views/projects/issues/_issue.html.haml' do
- element :issue
- element :issue_link, 'link_to issue.title' # rubocop:disable QA/ElementWithPattern
- end
-
- view 'app/views/shared/issuable/_assignees.html.haml' do
- element :avatar_counter
- end
-
view 'app/views/shared/issuable/_nav.html.haml' do
element :closed_issues_link
end
def avatar_counter
- find_element(:avatar_counter)
+ find_element(:avatar_counter_content)
end
def click_issue_link(title)
@@ -80,7 +77,7 @@ module QA
end
def has_issue?(issue)
- has_element? :issue, issue_title: issue.title
+ has_element? :issue_container, issue_title: issue.title
end
end
end
diff --git a/qa/qa/service/docker_run/gitlab_runner.rb b/qa/qa/service/docker_run/gitlab_runner.rb
index 6022ee4ceab..e15047a0f1d 100644
--- a/qa/qa/service/docker_run/gitlab_runner.rb
+++ b/qa/qa/service/docker_run/gitlab_runner.rb
@@ -92,7 +92,7 @@ module QA
CMD
end
- # Ping CloudFlare DNS, should fail
+ # Ping Cloudflare DNS, should fail
# Ping Registry, should fail to resolve
def prove_airgap
gitlab_ip = Resolv.getaddress 'registry.gitlab.com'