fix: 🐛 verify manage action options
This commit is contained in:
1 parent
451c1e861b
commit
6c58749a6e
1 file changed
+2
-1
@@ -84,9 +84,10 @@ module('Acceptance | host-catalogs | hosts | list', function (hooks) {
|
||||
});
|
||||
|
||||
test('User can navigate to index with only create action', async function (assert) {
|
||||
assert.expect(1);
|
||||
assert.expect(2);
|
||||
instances.hostCatalog.authorized_collection_actions.hosts = ['create'];
|
||||
await visit(urls.hostCatalog);
|
||||
assert.ok(find(`[href="${urls.hosts}"]`));
|
||||
assert.ok(find(`.rose-layout-page-actions [href="${urls.newHost}"]`));
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user