Jelajahi Sumber

Merge pull request #23099 from overleaf/jpa-fix-sessions-test

[web] add missing await in acceptance test

GitOrigin-RevId: d18d62c55609c46c5b8a583e572a415b55a81af7
Jakob Ackermann 1 tahun lalu
induk
melakukan
5c3353b3de
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      services/web/test/acceptance/src/SessionTests.mjs

+ 1 - 1
services/web/test/acceptance/src/SessionTests.mjs

@@ -536,7 +536,7 @@ describe('Sessions', function () {
       await tryWithValidationToken(await getOtherUsersValidationToken())
       await tryWithValidationToken(await getOtherUsersValidationToken())
     })
     })
     it('should ignore overwrites in app code', async function () {
     it('should ignore overwrites in app code', async function () {
-      const otherUsersValidationToken = getOtherUsersValidationToken()
+      const otherUsersValidationToken = await getOtherUsersValidationToken()
 
 
       const user = new User()
       const user = new User()
       await user.login()
       await user.login()