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(); });