summaryrefslogtreecommitdiff
path: root/qa/qa
diff options
context:
space:
mode:
authorImre Farkas <ifarkas@gitlab.com>2018-11-08 16:03:56 +0100
committerImre Farkas <ifarkas@gitlab.com>2018-11-12 12:16:25 +0100
commitf3cd24a9f3f581488d621475e55e3a81bbd9e67c (patch)
tree66266d4ae8b2864a2e8423f7e8022483c357ccb9 /qa/qa
parent369631c84195f6b8b26624d5647ae994e64b77e8 (diff)
downloadgitlab-ce-f3cd24a9f3f581488d621475e55e3a81bbd9e67c.tar.gz
Display impersonation token value only after creationif-53347_fix_impersonation_tokens
Since we migrated all PersonlAccessTokens to store only its hash in the DB, the token value can no longer be shown to the user.
Diffstat (limited to 'qa/qa')
-rw-r--r--qa/qa/page/profile/personal_access_tokens.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/qa/page/profile/personal_access_tokens.rb b/qa/qa/page/profile/personal_access_tokens.rb
index 2f0202951bb..9191dbe9cf3 100644
--- a/qa/qa/page/profile/personal_access_tokens.rb
+++ b/qa/qa/page/profile/personal_access_tokens.rb
@@ -8,7 +8,7 @@ module QA
element :scopes_api_radios, "label :scopes" # rubocop:disable QA/ElementWithPattern
end
- view 'app/views/profiles/personal_access_tokens/index.html.haml' do
+ view 'app/views/shared/_personal_access_tokens_created_container.html.haml' do
element :create_token_field, "text_field_tag 'created-personal-access-token'" # rubocop:disable QA/ElementWithPattern
end