Commit ec42a6e6 authored by Sanad Liaquat's avatar Sanad Liaquat

Makes the assertion for user given access emoji tolerant

parent b8ca2fc6
# frozen_string_literal: true
module QA
# Failure issue: https://gitlab.com/gitlab-org/quality/staging/issues/45
context 'Manage', :quarantine do
context 'Manage' do
describe 'Add project member' do
it 'user adds project member' do
Runtime::Browser.visit(:gitlab, Page::Main::Login)
......@@ -20,7 +19,7 @@ module QA
page.add_member(user.username)
end
expect(page).to have_content("#{user.name} @#{user.username} Given access")
expect(page).to have_content(/#{user.name} (. )?@#{user.username} Given access/)
end
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment