summaryrefslogtreecommitdiff
path: root/spec/features/profiles
diff options
context:
space:
mode:
authorTimothy Andrew <mail@timothyandrew.net>2016-06-10 08:49:05 +0530
committerTimothy Andrew <mail@timothyandrew.net>2016-06-10 10:30:49 +0530
commite18a08fd89f59088db22208069370a85f6a33001 (patch)
tree51752b67d9085580c6694e362ae2f5fb18df8b1b /spec/features/profiles
parent1779d68bfe2872c36f475798c5e1b82678f3225d (diff)
downloadgitlab-ce-e18a08fd89f59088db22208069370a85f6a33001.tar.gz
Implement second round of comments from @jschatz1.
- Just use a link for the clipboard button. Having a non-clickable container (that looks like a button) is confusing. - Use `text-danger` for the "you won't be able to access it again" message. - Highlight the created token so people know to look there.
Diffstat (limited to 'spec/features/profiles')
-rw-r--r--spec/features/profiles/personal_access_tokens_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/profiles/personal_access_tokens_spec.rb b/spec/features/profiles/personal_access_tokens_spec.rb
index 105c5dae34e..d824e1d288d 100644
--- a/spec/features/profiles/personal_access_tokens_spec.rb
+++ b/spec/features/profiles/personal_access_tokens_spec.rb
@@ -12,7 +12,7 @@ describe 'Profile > Personal Access Tokens', feature: true, js: true do
end
def created_personal_access_token
- find(".created-personal-access-token input").value
+ find("#created-personal-access-token").value
end
def disallow_personal_access_token_saves!