Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('waitForElementcountToBe should wait until a list has 3 items', async () => {
await waitForElementCountToBe(waitsPage.waitForElementCount, 3);
await expect(waitsPage.waitForElementCount.count()).toBe(3);
});
it('waitForElementcountToBe should wait until a list has 3 items', () => {
waitForElementCountToBe(waitsPage.waitForElementCount, 3);
expect(waitsPage.waitForElementCount.count()).toBe(3);
});