Skip to content

Commit e355e45

Browse files
committed
rename angular-19
1 parent 53e8a2b commit e355e45

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

dev-packages/e2e-tests/test-applications/angular-19/start-event-proxy.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ import { startEventProxyServer } from '@sentry-internal/test-utils';
22

33
startEventProxyServer({
44
port: 3031,
5-
proxyServerName: 'angular-18',
5+
proxyServerName: 'angular-19',
66
});

dev-packages/e2e-tests/test-applications/angular-19/tests/errors.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { expect, test } from '@playwright/test';
22
import { waitForError, waitForTransaction } from '@sentry-internal/test-utils';
33

44
test('sends an error', async ({ page }) => {
5-
const errorPromise = waitForError('angular-18', async errorEvent => {
5+
const errorPromise = waitForError('angular-19', async errorEvent => {
66
return !errorEvent.type;
77
});
88

@@ -30,11 +30,11 @@ test('sends an error', async ({ page }) => {
3030
});
3131

3232
test('assigns the correct transaction value after a navigation', async ({ page }) => {
33-
const pageloadTxnPromise = waitForTransaction('angular-18', async transactionEvent => {
33+
const pageloadTxnPromise = waitForTransaction('angular-19', async transactionEvent => {
3434
return !!transactionEvent?.transaction && transactionEvent.contexts?.trace?.op === 'pageload';
3535
});
3636

37-
const errorPromise = waitForError('angular-18', async errorEvent => {
37+
const errorPromise = waitForError('angular-19', async errorEvent => {
3838
return !errorEvent.type;
3939
});
4040

dev-packages/e2e-tests/test-applications/angular-19/tests/performance.test.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { waitForTransaction } from '@sentry-internal/test-utils';
44
import { SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN } from '@sentry/core';
55

66
test('sends a pageload transaction with a parameterized URL', async ({ page }) => {
7-
const transactionPromise = waitForTransaction('angular-18', async transactionEvent => {
7+
const transactionPromise = waitForTransaction('angular-19', async transactionEvent => {
88
return !!transactionEvent?.transaction && transactionEvent.contexts?.trace?.op === 'pageload';
99
});
1010

@@ -27,11 +27,11 @@ test('sends a pageload transaction with a parameterized URL', async ({ page }) =
2727
});
2828

2929
test('sends a navigation transaction with a parameterized URL', async ({ page }) => {
30-
const pageloadTxnPromise = waitForTransaction('angular-18', async transactionEvent => {
30+
const pageloadTxnPromise = waitForTransaction('angular-19', async transactionEvent => {
3131
return !!transactionEvent?.transaction && transactionEvent.contexts?.trace?.op === 'pageload';
3232
});
3333

34-
const navigationTxnPromise = waitForTransaction('angular-18', async transactionEvent => {
34+
const navigationTxnPromise = waitForTransaction('angular-19', async transactionEvent => {
3535
return !!transactionEvent?.transaction && transactionEvent.contexts?.trace?.op === 'navigation';
3636
});
3737

@@ -56,11 +56,11 @@ test('sends a navigation transaction with a parameterized URL', async ({ page })
5656
});
5757

5858
test('sends a navigation transaction even if the pageload span is still active', async ({ page }) => {
59-
const pageloadTxnPromise = waitForTransaction('angular-18', async transactionEvent => {
59+
const pageloadTxnPromise = waitForTransaction('angular-19', async transactionEvent => {
6060
return !!transactionEvent?.transaction && transactionEvent.contexts?.trace?.op === 'pageload';
6161
});
6262

63-
const navigationTxnPromise = waitForTransaction('angular-18', async transactionEvent => {
63+
const navigationTxnPromise = waitForTransaction('angular-19', async transactionEvent => {
6464
return !!transactionEvent?.transaction && transactionEvent.contexts?.trace?.op === 'navigation';
6565
});
6666

@@ -101,7 +101,7 @@ test('sends a navigation transaction even if the pageload span is still active',
101101
});
102102

103103
test('groups redirects within one navigation root span', async ({ page }) => {
104-
const navigationTxnPromise = waitForTransaction('angular-18', async transactionEvent => {
104+
const navigationTxnPromise = waitForTransaction('angular-19', async transactionEvent => {
105105
return !!transactionEvent?.transaction && transactionEvent.contexts?.trace?.op === 'navigation';
106106
});
107107

@@ -131,7 +131,7 @@ test('groups redirects within one navigation root span', async ({ page }) => {
131131

132132
test.describe('finish routing span', () => {
133133
test('finishes routing span on navigation cancel', async ({ page }) => {
134-
const navigationTxnPromise = waitForTransaction('angular-18', async transactionEvent => {
134+
const navigationTxnPromise = waitForTransaction('angular-19', async transactionEvent => {
135135
return !!transactionEvent?.transaction && transactionEvent.contexts?.trace?.op === 'navigation';
136136
});
137137

@@ -160,7 +160,7 @@ test.describe('finish routing span', () => {
160160
});
161161

162162
test('finishes routing span on navigation error', async ({ page }) => {
163-
const navigationTxnPromise = waitForTransaction('angular-18', async transactionEvent => {
163+
const navigationTxnPromise = waitForTransaction('angular-19', async transactionEvent => {
164164
return !!transactionEvent?.transaction && transactionEvent.contexts?.trace?.op === 'navigation';
165165
});
166166

@@ -193,7 +193,7 @@ test.describe('finish routing span', () => {
193193

194194
test.describe('TraceDirective', () => {
195195
test('creates a child span with the component name as span name on ngOnInit', async ({ page }) => {
196-
const navigationTxnPromise = waitForTransaction('angular-18', async transactionEvent => {
196+
const navigationTxnPromise = waitForTransaction('angular-19', async transactionEvent => {
197197
return !!transactionEvent?.transaction && transactionEvent.contexts?.trace?.op === 'navigation';
198198
});
199199

@@ -238,7 +238,7 @@ test.describe('TraceDirective', () => {
238238

239239
test.describe('TraceClass Decorator', () => {
240240
test('adds init span for decorated class', async ({ page }) => {
241-
const navigationTxnPromise = waitForTransaction('angular-18', async transactionEvent => {
241+
const navigationTxnPromise = waitForTransaction('angular-19', async transactionEvent => {
242242
return !!transactionEvent?.transaction && transactionEvent.contexts?.trace?.op === 'navigation';
243243
});
244244

@@ -270,7 +270,7 @@ test.describe('TraceClass Decorator', () => {
270270

271271
test.describe('TraceMethod Decorator', () => {
272272
test('adds name to span description of decorated method `ngOnInit`', async ({ page }) => {
273-
const navigationTxnPromise = waitForTransaction('angular-18', async transactionEvent => {
273+
const navigationTxnPromise = waitForTransaction('angular-19', async transactionEvent => {
274274
return !!transactionEvent?.transaction && transactionEvent.contexts?.trace?.op === 'navigation';
275275
});
276276

@@ -298,7 +298,7 @@ test.describe('TraceMethod Decorator', () => {
298298
});
299299

300300
test('adds fallback name to span description of decorated method `ngAfterViewInit`', async ({ page }) => {
301-
const navigationTxnPromise = waitForTransaction('angular-18', async transactionEvent => {
301+
const navigationTxnPromise = waitForTransaction('angular-19', async transactionEvent => {
302302
return !!transactionEvent?.transaction && transactionEvent.contexts?.trace?.op === 'navigation';
303303
});
304304

0 commit comments

Comments
 (0)