From 54463008f953d849cfbb042865f578c715b62160 Mon Sep 17 00:00:00 2001 From: MrMelon54 Date: Wed, 8 Nov 2023 11:44:14 +0000 Subject: [PATCH] Update test to match closing popup code --- server/flow_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/flow_test.go b/server/flow_test.go index bb4249e..8258b61 100644 --- a/server/flow_test.go +++ b/server/flow_test.go @@ -360,6 +360,9 @@ func TestFlowCallback(t *testing.T) { }; window.addEventListener("load", function () { window.opener.postMessage(loginData, loginData.target); + setTimeout(function () { + window.close(); + }, 500); });