From 7f4904947782634bf8ff3ca06153a93e06af1f57 Mon Sep 17 00:00:00 2001 From: Vanesa Date: Tue, 27 Jun 2023 18:14:20 +0200 Subject: [PATCH] Add missing await --- tests/tests.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tests.spec.js b/tests/tests.spec.js index e7cbd03..6ecbe19 100644 --- a/tests/tests.spec.js +++ b/tests/tests.spec.js @@ -122,7 +122,7 @@ test('options functionality', async() => { return microphonesItems.indexOf(item) === index && item != '' && !cameraItems.includes(item); }); - var numberOfMicrophones = filteredMicrophones.length; + var numberOfMicrophones = await filteredMicrophones.length; await expect(numberOfMicrophones).toBeGreaterThan(0); await page.getByRole('listbox').locator('div').last().click(); });