fix: 🐛 verify manage action options

This commit is contained in:
dharini committed 2021-09-02 16:25:47 -07:00
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}"]`));
});
});