Skip to content

Commit f0a6094

Browse files
committed
add logs
1 parent 7b00a3a commit f0a6094

File tree

2 files changed

+8
-2
lines changed
  • dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/interactions

2 files changed

+8
-2
lines changed

.size-limit.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module.exports = [
1212
path: 'packages/browser/build/npm/esm/index.js',
1313
import: createImport('init', 'browserTracingIntegration'),
1414
gzip: true,
15-
limit: '36 KB',
15+
limit: '34 KB',
1616
},
1717
{
1818
name: '@sentry/browser (incl. Tracing, Replay)',
@@ -52,7 +52,7 @@ module.exports = [
5252
path: 'packages/browser/build/npm/esm/index.js',
5353
import: createImport('init', 'browserTracingIntegration', 'replayIntegration', 'feedbackIntegration'),
5454
gzip: true,
55-
limit: '83 KB',
55+
limit: '85 KB',
5656
},
5757
{
5858
name: '@sentry/browser (incl. Feedback)',

dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/interactions/test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,17 @@ sentryTest('should capture an INP click event span. @firefox', async ({ browserN
147147
// Wait for the interaction transaction from the experimental enableInteractions (in init.js)
148148
await getMultipleSentryEnvelopeRequests<TransactionJSON>(page, 1);
149149

150+
// eslint-disable-next-line no-console
151+
console.log('waited for interaction ev');
152+
150153
// Page hide to trigger INP
151154
await page.evaluate(() => {
152155
window.dispatchEvent(new Event('pagehide'));
153156
});
154157

158+
// eslint-disable-next-line no-console
159+
console.log('pagehide done');
160+
155161
// Get the INP span envelope
156162
const spanEnvelopes = await spanEnvelopesPromise;
157163

0 commit comments

Comments
 (0)