Skip to content

Commit

Permalink
test: Remove duplicated expect (#3579)
Browse files Browse the repository at this point in the history
  • Loading branch information
kblok authored Aug 22, 2020
1 parent e5dae0d commit 72f11fd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/selectors-css.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ it('should work with comma separated list', async({page, server}) => {
expect(await page.$eval(`css=doesnotexist , section #root1`, e => e.id)).toBe('root1');
expect(await page.$$eval(`css=doesnotexist ,section #root1`, els => els.length)).toBe(1);
expect(await page.$$eval(`css=span,div span`, els => els.length)).toBe(4);
expect(await page.$$eval(`css=span,div span`, els => els.length)).toBe(4);
expect(await page.$$eval(`css=span,div span,div div span`, els => els.length)).toBe(4);
expect(await page.$$eval(`css=#target,[attr="value\\ space"]`, els => els.length)).toBe(2);
expect(await page.$$eval(`css=#target,[data-testid="foo"],[attr="value\\ space"]`, els => els.length)).toBe(4);
Expand Down

0 comments on commit 72f11fd

Please sign in to comment.