fregante/webext-dynamic-content-scripts

Update puppeteer to v22+ for the tests

Open

#71 建立於 2024年6月11日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)TypeScript (14 fork)github user discovery
help wanted

倉庫指標

Star
 (92 star)
PR 合併指標
 (PR 指標待抓取)

描述

Seeing this consistently in https://github.com/fregante/webext-dynamic-content-scripts/pull/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:

貢獻者指南