Skip to content

Commit 5a87aec

Browse files
fix type clash
1 parent 63a1396 commit 5a87aec

File tree

1 file changed

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

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { Route } from '@playwright/test';
22
import { expect } from '@playwright/test';
3-
import type { Event, Measurements, Span, SpanContext, SpanJSON, Transaction } from '@sentry/types';
3+
import type { Event as SentryEvent, Measurements, Span, SpanContext, SpanJSON, Transaction } from '@sentry/types';
44

55
import { sentryTest } from '../../../../utils/fixtures';
66
import {
@@ -30,7 +30,7 @@ sentryTest('should capture interaction transaction. @firefox', async ({ browserN
3030
const url = await getLocalTestPath({ testDir: __dirname });
3131

3232
await page.goto(url);
33-
await getFirstSentryEnvelopeRequest<Event>(page);
33+
await getFirstSentryEnvelopeRequest<SentryEvent>(page);
3434

3535
await page.locator('[data-test-id=interaction-button]').click();
3636
await page.locator('.clicked[data-test-id=interaction-button]').isVisible();
@@ -70,12 +70,12 @@ sentryTest(
7070

7171
const url = await getLocalTestPath({ testDir: __dirname });
7272
await page.goto(url);
73-
await getFirstSentryEnvelopeRequest<Event>(page);
73+
await getFirstSentryEnvelopeRequest<SentryEvent>(page);
7474

7575
for (let i = 0; i < 4; i++) {
7676
await wait(100);
7777
await page.locator('[data-test-id=interaction-button]').click();
78-
const envelope = await getMultipleSentryEnvelopeRequests<Event>(page, 1);
78+
const envelope = await getMultipleSentryEnvelopeRequests<SentryEvent>(page, 1);
7979
expect(envelope[0].spans).toHaveLength(1);
8080
}
8181
},
@@ -97,7 +97,7 @@ sentryTest(
9797
const url = await getLocalTestPath({ testDir: __dirname });
9898

9999
await page.goto(url);
100-
await getFirstSentryEnvelopeRequest<Event>(page);
100+
await getFirstSentryEnvelopeRequest<SentryEvent>(page);
101101

102102
await page.locator('[data-test-id=annotated-button]').click();
103103

@@ -132,7 +132,7 @@ sentryTest('should capture an INP click event span. @firefox', async ({ browserN
132132
const url = await getLocalTestPath({ testDir: __dirname });
133133

134134
await page.goto(url);
135-
await getFirstSentryEnvelopeRequest<Event>(page);
135+
await getFirstSentryEnvelopeRequest<SentryEvent>(page);
136136

137137
await page.locator('[data-test-id=interaction-button]').click();
138138
await page.locator('.clicked[data-test-id=interaction-button]').isVisible();

0 commit comments

Comments
 (0)