refactor: 💡 Update language to use Sign In and Sign Out (#1109)
* refactor: 💡 Update language to use Sign In and Sign Out Update authenticate/deauthenticate language to sign in and sign out respectively ✅ Closes: ICU-3941 * refactor: 💡 Change translation keys back to (de)authenticate Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
This commit is contained in:
1 parent
aa52b6f9bc
commit
12b18510b9
4 files changed
+6
-6
No files matched your search
@@ -18,7 +18,7 @@ module('Integration | Component | error/message', function (hooks) {
|
||||
);
|
||||
assert.equal(
|
||||
find('.rose-message-description').textContent.trim(),
|
||||
'You are not authenticated. Please authenticate and try again later.'
|
||||
'You are not signed in. Please sign in and try again later.'
|
||||
);
|
||||
await render(hbs`<Error::Message @status='403' />`);
|
||||
assert.equal(
|
||||
|
||||
@@ -17,8 +17,8 @@ retry: Retry
|
||||
get-topic-help: Get help for this topic
|
||||
copy-to-clipboard: Copy to Clipboard
|
||||
copy-error-detail-to-clipboard: Copy error detail to clipboard
|
||||
authenticate: Authenticate
|
||||
deauthenticate: Deauthenticate
|
||||
authenticate: Sign In
|
||||
deauthenticate: Sign Out
|
||||
choose-org: Choose Scope
|
||||
choose-different-org: Choose a different scope
|
||||
add-host-set: Create Host Set
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
401:
|
||||
title: You are not signed in
|
||||
description: You are not authenticated. Please authenticate and try again later.
|
||||
description: You are not signed in. Please sign in and try again later.
|
||||
403:
|
||||
title: You are not authorized
|
||||
description: You must be granted permissions to view this data. Ask your administrator if you think you should have access.
|
||||
|
||||
@@ -179,7 +179,7 @@ module('Acceptance | authentication', function (hooks) {
|
||||
assert.equal(currentURL(), urls.origin);
|
||||
});
|
||||
|
||||
test('deauthentication redirects to first global authenticate method', async function (assert) {
|
||||
test('signing out redirects to first global authenticate method', async function (assert) {
|
||||
assert.expect(3);
|
||||
await visit(urls.authenticate.methods.global);
|
||||
await fillIn('[name="identification"]', 'test');
|
||||
@@ -191,7 +191,7 @@ module('Acceptance | authentication', function (hooks) {
|
||||
find(
|
||||
'.rose-header-utilities .rose-dropdown-content button'
|
||||
).textContent.trim(),
|
||||
'Deauthenticate'
|
||||
'Sign Out'
|
||||
);
|
||||
await click('.rose-header-utilities .rose-dropdown-content button');
|
||||
assert.notOk(currentSession().isAuthenticated);
|
||||
|
||||
Reference in new issue
Block a user