chore: cover user account toggle off case
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user