Icu 5335 add doc link for credential store screens (#1208)
* feat: 🎸 Add doc links to Credential Store screens ✅ Closes: ICU-5335 * test: 💍 Add tests for Credential Store doc links
This commit is contained in:
1 parent
9274849622
commit
d996d085a1
5 files changed
+38
-2
No files matched your search
@@ -1,4 +1,7 @@
|
||||
<h2>{{t 'resources.credential-store.title'}}</h2>
|
||||
<h2>
|
||||
{{t 'resources.credential-store.title'}}
|
||||
<DocLink @doc='credential-store' @iconSize='large' />
|
||||
</h2>
|
||||
<p>{{t 'resources.credential-store.description'}}</p>
|
||||
<Copyable
|
||||
@text={{@model.id}}
|
||||
|
||||
@@ -6,7 +6,10 @@
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<h2>{{t 'titles.new'}}</h2>
|
||||
<h2>
|
||||
{{t 'titles.new'}}
|
||||
<DocLink @doc='credential-store' @iconSize='large' />
|
||||
</h2>
|
||||
</page.header>
|
||||
|
||||
<page.body>
|
||||
|
||||
@@ -119,4 +119,14 @@ module('Acceptance | credential-stores | create', function (hooks) {
|
||||
'Name is required.'
|
||||
);
|
||||
});
|
||||
|
||||
test('Users can link to docs page for new credential store', async function (assert) {
|
||||
assert.expect(1);
|
||||
await visit(urls.newCredentialStore);
|
||||
assert.ok(
|
||||
find(
|
||||
`[href="https://boundaryproject.io/help/admin-ui/credential-stores"]`
|
||||
)
|
||||
);
|
||||
});
|
||||
});
|
||||
@@ -81,4 +81,14 @@ module('Acceptance | credential-stores | list', function (hooks) {
|
||||
await visit(urls.projectScope);
|
||||
assert.ok(find(`[href="${urls.credentialStores}"]`));
|
||||
});
|
||||
|
||||
test('Users can link to docs page for credential stores', async function (assert) {
|
||||
assert.expect(1);
|
||||
await visit(urls.credentialStores);
|
||||
assert.ok(
|
||||
find(
|
||||
`[href="https://boundaryproject.io/help/admin-ui/credential-stores"]`
|
||||
)
|
||||
);
|
||||
});
|
||||
});
|
||||
@@ -81,4 +81,14 @@ module('Acceptance | credential-stores | read', function (hooks) {
|
||||
'Error 404'
|
||||
);
|
||||
});
|
||||
|
||||
test('Users can link to docs page for credential store', async function (assert) {
|
||||
assert.expect(1);
|
||||
await visit(urls.credentialStore);
|
||||
assert.ok(
|
||||
find(
|
||||
`[href="https://boundaryproject.io/help/admin-ui/credential-stores"]`
|
||||
)
|
||||
);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user