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
3af6ec3e
Commit
3af6ec3e
authored
Jul 09, 2020
by
Desiree Chevalier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update remove member modal for specs
parent
6ed25c9a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
app/assets/javascripts/vue_shared/components/remove_member_modal.vue
...javascripts/vue_shared/components/remove_member_modal.vue
+1
-0
qa/qa/page/group/sub_menus/members.rb
qa/qa/page/group/sub_menus/members.rb
+10
-4
No files found.
app/assets/javascripts/vue_shared/components/remove_member_modal.vue
View file @
3af6ec3e
...
...
@@ -62,6 +62,7 @@ export default {
:action-cancel=
"$options.actionCancel"
:action-primary=
"actionPrimary"
:title=
"actionText"
data-qa-selector=
"remove_member_modal_content"
@
primary=
"submitForm"
>
<form
ref=
"form"
:action=
"modalData.memberPath"
method=
"post"
>
...
...
qa/qa/page/group/sub_menus/members.rb
View file @
3af6ec3e
...
...
@@ -7,6 +7,10 @@ module QA
class
Members
<
Page
::
Base
include
Page
::
Component
::
UsersSelect
view
'app/assets/javascripts/vue_shared/components/remove_member_modal.vue'
do
element
:remove_member_modal_content
end
view
'app/views/shared/members/_invite_member.html.haml'
do
element
:member_select_field
element
:invite_member_button
...
...
@@ -32,10 +36,12 @@ module QA
end
def
remove_member
(
username
)
page
.
accept_confirm
do
within_element
(
:member_row
,
text:
username
)
do
click_element
:delete_member_button
end
within_element
(
:member_row
,
text:
username
)
do
click_element
:delete_member_button
end
within_element
(
:remove_member_modal_content
)
do
click_button
(
"Remove member"
)
end
end
end
...
...
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