Commit 70a21479 authored by Sanad Liaquat's avatar Sanad Liaquat

Merge branch 'qa-shl-move-email-notf-spec-to-plan' into 'master'

Move Email notification spec to Plan and improve description

See merge request gitlab-org/gitlab!21111
parents 240f55f9 701d6125
# frozen_string_literal: true
module QA
context 'Manage', :orchestrated, :smtp do
describe 'mail notification' do
context 'Plan', :orchestrated, :smtp do
describe 'Email Notification' do
let(:user) do
Resource::User.fabricate_or_use(Runtime::Env.gitlab_qa_username_1, Runtime::Env.gitlab_qa_password_1)
end
......@@ -17,7 +17,7 @@ module QA
Flow::Login.sign_in
end
it 'user receives email for project invitation' do
it 'is received by a user for project invitation' do
Flow::Project.add_member(project: project, username: user.username)
expect(page).to have_content(/@#{user.username}(\n| )?Given access/)
......
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