test: fix Browser.pages should return all of the pages (#7064)
This commit is contained in:
parent
0e092d2ea0
commit
c39c81d016
@ -48,7 +48,6 @@ describe('Target', function () {
|
|||||||
const allPages = await context.pages();
|
const allPages = await context.pages();
|
||||||
expect(allPages.length).toBe(1);
|
expect(allPages.length).toBe(1);
|
||||||
expect(allPages).toContain(page);
|
expect(allPages).toContain(page);
|
||||||
expect(allPages[0]).not.toBe(allPages[1]);
|
|
||||||
});
|
});
|
||||||
it('should contain browser target', async () => {
|
it('should contain browser target', async () => {
|
||||||
const { browser } = getTestState();
|
const { browser } = getTestState();
|
||||||
|
Loading…
Reference in New Issue
Block a user