[Desktop][Bug fix]: Stop target sessions before unauthenticating user session (#2891)
* add stopAll invocation to ipc handler * trigger modal on both signout btns * refactor invalidateSession fn * fix application controller tests * fix failing tests settings-card/user * add test to Acceptance | authentication * migrate electron dialog.showMessageBoxSync to Hds * rename channel and tracked prop, consolidate cancel fns * combine modals, add willDestroy, refactor * test signout and close sessions modal * address feedback * refactor window.electron in authentication-test * address feedback * refactor: 💡 Fix failing tests --------- Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
This commit is contained in:
1 parent
f776ba0617
commit
990e2d6b9d
20 files changed
+342
-84
No files matched your search
@@ -132,7 +132,7 @@ module(
|
||||
assert.deepEqual(controller.availableSessions, selectedItems);
|
||||
});
|
||||
|
||||
test('cancelSession action action updates session status', async function (assert) {
|
||||
test('cancelSession action updates session status', async function (assert) {
|
||||
await visit(urls.sessions);
|
||||
|
||||
const session = await store.findRecord('session', instances.session.id);
|
||||
|
||||
Reference in new issue
Block a user