diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-20 18:42:06 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-20 18:42:06 +0000 |
commit | 6e4e1050d9dba2b7b2523fdd1768823ab85feef4 (patch) | |
tree | 78be5963ec075d80116a932011d695dd33910b4e /qa/qa/page/dashboard/projects.rb | |
parent | 1ce776de4ae122aba3f349c02c17cebeaa8ecf07 (diff) | |
download | gitlab-ce-6e4e1050d9dba2b7b2523fdd1768823ab85feef4.tar.gz |
Add latest changes from gitlab-org/gitlab@13-3-stable-ee
Diffstat (limited to 'qa/qa/page/dashboard/projects.rb')
-rw-r--r-- | qa/qa/page/dashboard/projects.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/qa/qa/page/dashboard/projects.rb b/qa/qa/page/dashboard/projects.rb index c103bc26a36..b9e2383a3eb 100644 --- a/qa/qa/page/dashboard/projects.rb +++ b/qa/qa/page/dashboard/projects.rb @@ -8,6 +8,17 @@ module QA element :project_filter_form, required: true end + view 'app/views/shared/projects/_project.html.haml' do + element :project_content + element :user_role_content + end + + def has_project_with_access_role?(project_name, access_role) + within_element(:project_content, text: project_name) do + has_element?(:user_role_content, text: access_role) + end + end + def go_to_project(name) filter_by_name(name) |