test: Remove mock in failing origin test in desktop

This commit is contained in:
Susmitha Girumala committed 2021-03-25 16:19:59 -04:00
1 parent 4d2cb86a62
commit 83ab375829
1 file changed
+6 -3
+6 -3
View File
@@ -178,12 +178,15 @@ module('Acceptance | origin', function (hooks) {
});
test('can reset origin before authentication', async function (assert) {
assert.expect(4);
assert.notOk(mockIPC.origin);
assert.expect(3);
await visit(urls.origin);
await a11yAudit();
await fillIn('[name="host"]', window.location.origin);
await click('[type="submit"]');
assert.equal(mockIPC.origin, window.location.origin);
assert.equal(
this.owner.lookup('controller:origin').origin,
window.location.origin
);
assert.equal(currentURL(), urls.authenticate.methods.global);
await click('.change-origin a');
assert.equal(currentURL(), urls.origin);