From c39c81d016dede3fd44dcebbb791500275c0c78a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Kondratiuk?= Date: Tue, 6 Apr 2021 11:45:43 -0300 Subject: [PATCH] test: fix Browser.pages should return all of the pages (#7064) --- test/target.spec.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/test/target.spec.ts b/test/target.spec.ts index f4291d18..918510f1 100644 --- a/test/target.spec.ts +++ b/test/target.spec.ts @@ -48,7 +48,6 @@ describe('Target', function () { const allPages = await context.pages(); expect(allPages.length).toBe(1); expect(allPages).toContain(page); - expect(allPages[0]).not.toBe(allPages[1]); }); it('should contain browser target', async () => { const { browser } = getTestState();