test: fix Browser.pages should return all of the pages (#7064)

This commit is contained in:
Darío Kondratiuk 2021-04-06 11:45:43 -03:00 committed by Mathias Bynens
parent 0e092d2ea0
commit c39c81d016

View File

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