● static: excludeMatches › should load the content script only in iframe, once
[object Object] is not supported
89 | it('should load the content script only in iframe, once', async () => {
90 | await expectToNotMatchElement(page, '.web-ext');
> 91 | await expect(iframeOfExcludedParent).toMatchElement('.web-ext');
| ^
92 | await expectToNotMatchElement(iframeOfExcludedParent, '.web-ext + .web-ext');
93 | });
94 | });
at expectPuppeteerInstance (node_modules/expect-puppeteer/dist/index.js:488:11)
at expectPuppeteer (node_modules/expect-puppeteer/dist/index.js:492:26)
at Object.expect (test/browser.js:91:9)
● dynamic: excludeMatches › should load page and iframe
[object Object] is not supported
84 | it('should load page and iframe', async () => {
85 | await expect(page).toMatchElement('title', {text: 'Excluded page'});
> 86 | await expect(iframeOfExcludedParent).toMatchElement('title', {text: 'Framed page'});
| ^
87 | });
88 |
89 | it('should load the content script only in iframe, once', async () => {
at expectPuppeteerInstance (node_modules/expect-puppeteer/dist/index.js:488:11)
at expectPuppeteer (node_modules/expect-puppeteer/dist/index.js:492:26)
at Object.expect (test/browser.js:86:9)
● dynamic: excludeMatches › should load the content script only in iframe, once
[object Object] is not supported
89 | it('should load the content script only in iframe, once', async () => {
90 | await expectToNotMatchElement(page, '.web-ext');
> 91 | await expect(iframeOfExcludedParent).toMatchElement('.web-ext');
| ^
92 | await expectToNotMatchElement(iframeOfExcludedParent, '.web-ext + .web-ext');
93 | });
94 | });
at expectPuppeteerInstance (node_modules/expect-puppeteer/dist/index.js:488:11)
at expectPuppeteer (node_modules/expect-puppeteer/dist/index.js:492:26)
at Object.expect (test/browser.js:91:9)
Test Suites: 1 failed, 1 total
Tests: 10 failed, 6 passed, 16 total