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
bcfcb914
Commit
bcfcb914
authored
Sep 03, 2020
by
Mark Lapierre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use a more specific selector name
As per code review suggestion
parent
c13174dc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/assets/javascripts/profile/account/components/delete_account_modal.vue
...ripts/profile/account/components/delete_account_modal.vue
+1
-1
qa/qa/page/profile/accounts/show.rb
qa/qa/page/profile/accounts/show.rb
+2
-2
No files found.
app/assets/javascripts/profile/account/components/delete_account_modal.vue
View file @
bcfcb914
...
...
@@ -64,7 +64,7 @@ Once you confirm %{deleteAccount}, it cannot be undone or recovered.`),
return
{
text
:
s__
(
'
Delete account
'
),
attributes
:
[
{
variant
:
'
danger
'
,
'
data-qa-selector
'
:
'
confirm_delet
ion
_button
'
},
{
variant
:
'
danger
'
,
'
data-qa-selector
'
:
'
confirm_delet
e_account
_button
'
},
{
category
:
'
primary
'
},
{
disabled
:
!
this
.
canSubmit
},
],
...
...
qa/qa/page/profile/accounts/show.rb
View file @
bcfcb914
...
...
@@ -11,14 +11,14 @@ module QA
view
'app/assets/javascripts/profile/account/components/delete_account_modal.vue'
do
element
:password_confirmation_field
element
:confirm_delet
ion
_button
element
:confirm_delet
e_account
_button
end
def
delete_account
(
password
)
click_element
(
:delete_account_button
)
find_element
(
:password_confirmation_field
).
set
password
click_element
(
:confirm_delet
ion
_button
)
click_element
(
:confirm_delet
e_account
_button
)
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