matrix-art

An image gallery for Matrix
git clone git://archive.git.mtrnord.blog/MTRNord/matrix-art.git
Log | Files | Refs | README | LICENSE

commit e394e8c17a46576dea203b0a906596573f770fdb
parent f494bfe29c58b9c6600ec744356c84a49f8a1e9b
Author: MTRNord <mtrnord1@gmail.com>
Date:   Tue,  8 Feb 2022 02:45:46 +0100

Fix linter

Diffstat:
Me2e/checkEnglishWorks.spec.ts | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/e2e/checkEnglishWorks.spec.ts b/e2e/checkEnglishWorks.spec.ts @@ -13,10 +13,11 @@ test('test if the header is there and english with correct state', async ({ page ]); // Make sure that we have the Hader - (await Promise.all([ + const locator = await Promise.all([ await page.waitForTimeout(5000), await page.locator('header') - ]))[1].isVisible(); + ]); + locator[1].isVisible(); expect(await page.locator('header').isVisible()).toBeTruthy(); // Make sure unauthenticated state is correct