Update test to match closing popup code

This commit is contained in:
Melon 2023-11-08 11:44:14 +00:00
parent 56f594ab3c
commit 54463008f9
Signed by: melon
GPG Key ID: 6C9D970C50D26A25

View File

@ -360,6 +360,9 @@ func TestFlowCallback(t *testing.T) {
}; };
window.addEventListener("load", function () { window.addEventListener("load", function () {
window.opener.postMessage(loginData, loginData.target); window.opener.postMessage(loginData, loginData.target);
setTimeout(function () {
window.close();
}, 500);
}); });
</script> </script>
</head> </head>