diff --git a/src/rebuild.ts b/src/rebuild.ts index 2bba890e..2256c40e 100644 --- a/src/rebuild.ts +++ b/src/rebuild.ts @@ -64,6 +64,7 @@ function buildNode(n: serializedNodeWithId, doc: Document): Node | null { if (isTextarea || isRemoteCss) { const child = doc.createTextNode(value); node.appendChild(child); + continue; } if (tagName === 'iframe' && name === 'src') { continue; diff --git a/test/integration.ts b/test/integration.ts index 8c71101f..387b7ee7 100644 --- a/test/integration.ts +++ b/test/integration.ts @@ -89,7 +89,7 @@ describe('integration tests', () => { await this.server.close(); }); - for (const html of htmls.slice(0, 10)) { + for (const html of htmls) { const title = '[html file]: ' + html.filePath; it(title, async () => { const page: puppeteer.Page = await this.browser.newPage();