From c9373c25f448c13ecb72f8a9eff077af126ba63b Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Thu, 11 Apr 2024 12:10:39 +0100 Subject: [PATCH] Merge pull request #17873 from overleaf/jpa-await-user-login [web] await promisified user login in ProjectStructureTests GitOrigin-RevId: 68df8931a5c7c3843367c6fd34a66278c212ff5b --- services/web/test/acceptance/src/ProjectStructureTests.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/web/test/acceptance/src/ProjectStructureTests.js b/services/web/test/acceptance/src/ProjectStructureTests.js index c1459e4343..b0c682e32c 100644 --- a/services/web/test/acceptance/src/ProjectStructureTests.js +++ b/services/web/test/acceptance/src/ProjectStructureTests.js @@ -20,9 +20,9 @@ before(function () { describe('ProjectStructureChanges', function () { let owner - beforeEach(function (done) { + beforeEach(async function () { owner = new User() - owner.login(done) + await owner.login() }) async function createExampleProject(owner) {