Skip to content

Update puppeteer to v22+ for the tests #71

@fregante

Description

@fregante

Seeing this consistently in #70

● static: iframe › should load the content script after a reload, once

    Execution context was destroyed, most likely because of a navigation.

      69 | 	it('should load the content script after a reload, once', async () => {
      70 | 		await iframe.goto(iframe.url());
    > 71 | 		await expect(iframe).toMatchElement('.web-ext');
         | 		^
      72 | 		await expectToNotMatchElement(iframe, '.web-ext + .web-ext');
      73 | 	});
      74 | });

      at Object.<anonymous> (test/browser.js:71:3)

  ● dynamic: iframe › should load the content script after a reload, once

    Execution context was destroyed, most likely because of a navigation.

      69 | 	it('should load the content script after a reload, once', async () => {
      70 | 		await iframe.goto(iframe.url());
    > 71 | 		await expect(iframe).toMatchElement('.web-ext');
         | 		^
      72 | 		await expectToNotMatchElement(iframe, '.web-ext + .web-ext');
      73 | 	});
      74 | });

      at Object.<anonymous> (test/browser.js:71:3)

Related:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions