Skip to content

Commit d001529

Browse files
committed
Revert "debug playwright test"
This reverts commit 7cf7b73.
1 parent 7cf7b73 commit d001529

File tree

4 files changed

+0
-10
lines changed

4 files changed

+0
-10
lines changed

dev-packages/browser-integration-tests/suites/replay/canvas/withCanvasIntegrationFirst/test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ sentryTest('sets up canvas when adding ReplayCanvas integration first', async ({
2020

2121
await page.goto(url);
2222

23-
page.on('console', (m) => {
24-
console.log(m);
25-
});
2623
const replay = await getReplaySnapshot(page);
2724
const canvasOptions = replay._canvas;
2825
expect(canvasOptions?.sampling.canvas).toBe(2);

dev-packages/browser-integration-tests/suites/replay/canvas/withCanvasIntegrationSecond/test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ sentryTest('sets up canvas when adding ReplayCanvas integration after Replay', a
2020

2121
await page.goto(url);
2222

23-
page.on('console', (m) => {
24-
console.log(m);
25-
});
2623
const replay = await getReplaySnapshot(page);
2724
const canvasOptions = replay._canvas;
2825
expect(canvasOptions?.sampling.canvas).toBe(2);

packages/replay-canvas/src/canvas.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ const replayCanvasIntegration = ((options: Partial<ReplayCanvasOptions> = {}) =>
6666
getOptions(): ReplayCanvasIntegrationOptions {
6767
const { quality } = _canvasOptions;
6868

69-
console.log('getoptions');
7069
return {
7170
recordCanvas: true,
7271
getCanvasManager: (options: ConstructorParameters<typeof CanvasManager>[0]) => new CanvasManager(options),

packages/replay/src/integration.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -357,20 +357,17 @@ Sentry.init({ replaysOnErrorSampleRate: ${errorSampleRate} })`,
357357
private _maybeLoadFromReplayCanvasIntegration(): void {
358358
// To save bundle size, we skip checking for stuff here
359359
// and instead just try-catch everything - as generally this should all be defined
360-
console.log("maybeload")
361360
/* eslint-disable @typescript-eslint/no-non-null-assertion */
362361
try {
363362
const client = getClient()!;
364363
const canvasIntegration = client.getIntegrationById!('ReplayCanvas') as Integration & {
365364
getOptions(): ReplayCanvasIntegrationOptions;
366365
};
367366
if (!canvasIntegration) {
368-
console.log('no canvas integration');
369367
return;
370368
}
371369

372370
this._replay!['_canvas'] = canvasIntegration.getOptions();
373-
console.log(this._replay!['_canvas'])
374371
} catch {
375372
// ignore errors here
376373
}

0 commit comments

Comments
 (0)