Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a0d3937d
Commit
a0d3937d
authored
Feb 02, 2021
by
Mark Lapierre
Committed by
Sanad Liaquat
Feb 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove add_member Flow method
It duplicates Resource::Project.add_member
parent
b22d82a3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
12 deletions
+7
-12
qa/qa/flow/project.rb
qa/qa/flow/project.rb
+0
-10
qa/qa/specs/features/browser_ui/2_plan/email/trigger_email_notification_spec.rb
...rowser_ui/2_plan/email/trigger_email_notification_spec.rb
+6
-1
qa/qa/specs/features/browser_ui/2_plan/issue/check_mentions_for_xss_spec.rb
...es/browser_ui/2_plan/issue/check_mentions_for_xss_spec.rb
+1
-1
No files found.
qa/qa/flow/project.rb
View file @
a0d3937d
...
...
@@ -5,16 +5,6 @@ module QA
module
Project
module_function
def
add_member
(
project
:,
username
:)
project
.
visit!
Page
::
Project
::
Menu
.
perform
(
&
:click_members
)
Page
::
Project
::
Members
.
perform
do
|
member_settings
|
member_settings
.
add_member
(
username
)
end
end
def
go_to_create_project_from_template
if
Page
::
Project
::
NewExperiment
.
perform
(
&
:shown?
)
Page
::
Project
::
NewExperiment
.
perform
(
&
:click_create_from_template_link
)
...
...
qa/qa/specs/features/browser_ui/2_plan/email/trigger_email_notification_spec.rb
View file @
a0d3937d
...
...
@@ -20,7 +20,12 @@ module QA
end
it
'is received by a user for project invitation'
,
testcase:
'https://gitlab.com/gitlab-org/quality/testcases/-/issues/676'
do
Flow
::
Project
.
add_member
(
project:
project
,
username:
user
.
username
)
project
.
visit!
Page
::
Project
::
Menu
.
perform
(
&
:click_members
)
Page
::
Project
::
Members
.
perform
do
|
member_settings
|
member_settings
.
add_member
(
user
.
username
)
end
expect
(
page
).
to
have_content
(
/@
#{
user
.
username
}
(\n| )?Given access/
)
...
...
qa/qa/specs/features/browser_ui/2_plan/issue/check_mentions_for_xss_spec.rb
View file @
a0d3937d
...
...
@@ -20,7 +20,7 @@ module QA
before
do
Flow
::
Login
.
sign_in
Flow
::
Project
.
add_member
(
project:
project
,
username:
user
.
username
)
project
.
add_member
(
user
)
Resource
::
Issue
.
fabricate_via_api!
do
|
issue
|
issue
.
project
=
project
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment