Skip to content

Commit

Permalink
Add missing await
Browse files Browse the repository at this point in the history
  • Loading branch information
vanesa-rh committed Jun 27, 2023
1 parent f554d5b commit 7f49049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tests.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
Expand Down

0 comments on commit 7f49049

Please sign in to comment.