chore: cover user account toggle off case

This commit is contained in:
Randall Morey committed 2020-10-03 13:53:06 -04:00
1 parent 90247f43a4
commit 87c8ef1d2f
1 file changed
+4 -1
@@ -97,8 +97,11 @@ module('Acceptance | users | accounts', function (hooks) {
instances.user.update({ accountIds: [] });
await visit(urls.accounts);
assert.equal(findAll('tbody tr').length, 0);
await click('.rose-layout-page-actions a')
await click('.rose-layout-page-actions a');
assert.equal(currentURL(), urls.addAccounts);
// Click three times to select, unselect, then reselect (for coverage)
await click('tbody label');
await click('tbody label');
await click('tbody label');
await click('form [type="submit"]');
await visit(urls.accounts);