summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorSanad Liaquat <sliaquat@gitlab.com>2019-08-20 07:30:27 +0500
committerSanad Liaquat <sliaquat@gitlab.com>2019-08-20 07:30:27 +0500
commit179955e8ce8c4495a5484384d37df64184971634 (patch)
tree56aee8d7b634f0c696e3da00dbd31ad67e576859 /qa
parentb759b4a62ed184236b9d56c3ca5cf1af534bbda0 (diff)
downloadgitlab-ce-179955e8ce8c4495a5484384d37df64184971634.tar.gz
Match space or newline after usernameqa-staging-67-fix-add-project-member-spec
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/specs/features/browser_ui/1_manage/project/add_project_member_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/qa/specs/features/browser_ui/1_manage/project/add_project_member_spec.rb b/qa/qa/specs/features/browser_ui/1_manage/project/add_project_member_spec.rb
index d859ee8e96a..1c1f552e224 100644
--- a/qa/qa/specs/features/browser_ui/1_manage/project/add_project_member_spec.rb
+++ b/qa/qa/specs/features/browser_ui/1_manage/project/add_project_member_spec.rb
@@ -19,7 +19,7 @@ module QA
page.add_member(user.username)
end
- expect(page).to have_content(/@#{user.username}\nGiven access/)
+ expect(page).to have_content(/@#{user.username}(\n| )?Given access/)
end
end
end