From f5f69e71436d4889bd2ae999dfe6e2a3890eb457 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=A9grier?= Date: Mon, 6 Dec 2021 11:35:37 +0100 Subject: [PATCH] Fixing missing await --- tests/tests/variables.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tests/variables.ts b/tests/tests/variables.ts index ce377368..6181281b 100644 --- a/tests/tests/variables.ts +++ b/tests/tests/variables.ts @@ -32,7 +32,7 @@ test("Test that variables storage works", async (t: TestController) => { //const mainWindow = await t.getCurrentWindow(); - login(t, 'http://play.workadventure.localhost/_/global/maps.workadventure.localhost/tests/Variables/shared_variables.json?somerandomparam=1'); + await login(t, 'http://play.workadventure.localhost/_/global/maps.workadventure.localhost/tests/Variables/shared_variables.json?somerandomparam=1'); await t //.useRole(userAliceOnPage('http://play.workadventure.localhost/_/global/maps.workadventure.localhost/tests/Variables/shared_variables.json?somerandomparam=1')) .switchToIframe("#cowebsite-buffer iframe")