From 28ec1008a072e81b084c0cec119f561d2de0bd85 Mon Sep 17 00:00:00 2001 From: Susmitha Girumala Date: Thu, 25 Mar 2021 16:36:02 -0400 Subject: [PATCH] Revert "test: Remove mock in failing origin test in desktop" This reverts commit 83ab375829a97e6dcac223737eef899b6e872f66. --- ui/desktop/tests/acceptance/origin-test.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/ui/desktop/tests/acceptance/origin-test.js b/ui/desktop/tests/acceptance/origin-test.js index ac596acac..4d7469c45 100644 --- a/ui/desktop/tests/acceptance/origin-test.js +++ b/ui/desktop/tests/acceptance/origin-test.js @@ -178,15 +178,12 @@ module('Acceptance | origin', function (hooks) { }); test('can reset origin before authentication', async function (assert) { - assert.expect(3); + assert.expect(4); + assert.notOk(mockIPC.origin); await visit(urls.origin); - await a11yAudit(); await fillIn('[name="host"]', window.location.origin); await click('[type="submit"]'); - assert.equal( - this.owner.lookup('controller:origin').origin, - window.location.origin - ); + assert.equal(mockIPC.origin, window.location.origin); assert.equal(currentURL(), urls.authenticate.methods.global); await click('.change-origin a'); assert.equal(currentURL(), urls.origin);