mirror of
https://github.com/1f349/lavender.git
synced 2024-12-22 07:34:06 +00:00
Update test to match closing popup code
This commit is contained in:
parent
56f594ab3c
commit
54463008f9
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user