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); });