test: remove stray logging (#13572)

This commit is contained in:
Dmitry Gozman 2022-04-14 16:58:09 -07:00 committed by GitHub
parent 189a5fa0f8
commit 2f570fa586
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 3 deletions

View file

@ -55,7 +55,6 @@ it('should enable and disable domains independently', async function({ page }) {
// JS coverage enables and then disables Debugger domain.
await page.coverage.startJSCoverage();
await page.coverage.stopJSCoverage();
page.on('console', console.log);
// generate a script in page and wait for the event.
await Promise.all([
new Promise<void>(f => client.on('Debugger.scriptParsed', event => {

View file

@ -76,7 +76,6 @@ it.describe('snapshots', () => {
});
it('should respect node removal', async ({ page, toImpl, snapshotter }) => {
page.on('console', console.log);
await page.setContent('<div><button id="button1"></button><button id="button2"></button></div>');
const snapshot1 = await snapshotter.captureSnapshot(toImpl(page), 'snapshot1');
expect(distillSnapshot(snapshot1)).toBe('<DIV><BUTTON id=\"button1\"></BUTTON><BUTTON id=\"button2\"></BUTTON></DIV>');
@ -86,7 +85,6 @@ it.describe('snapshots', () => {
});
it('should respect attr removal', async ({ page, toImpl, snapshotter }) => {
page.on('console', console.log);
await page.setContent('<div id="div" attr1="1" attr2="2"></div>');
const snapshot1 = await snapshotter.captureSnapshot(toImpl(page), 'snapshot1');
expect(distillSnapshot(snapshot1)).toBe('<DIV id=\"div\" attr1=\"1\" attr2=\"2\"></DIV>');