diff --git a/dev-packages/e2e-tests/test-applications/aws-serverless-esm/tests/basic.test.ts b/dev-packages/e2e-tests/test-applications/aws-serverless-esm/tests/basic.test.ts index d0cb526e7483..b27e16bdaa85 100644 --- a/dev-packages/e2e-tests/test-applications/aws-serverless-esm/tests/basic.test.ts +++ b/dev-packages/e2e-tests/test-applications/aws-serverless-esm/tests/basic.test.ts @@ -43,7 +43,7 @@ test('AWS Serverless SDK sends events in ESM mode', async ({ request }) => { trace_id: expect.stringMatching(/[a-f0-9]{32}/), }); - expect(transactionEvent.spans).toHaveLength(2); + expect(transactionEvent.spans).toHaveLength(3); // shows that the Otel Http instrumentation is working expect(transactionEvent.spans).toContainEqual( @@ -58,6 +58,19 @@ test('AWS Serverless SDK sends events in ESM mode', async ({ request }) => { }), ); + expect(transactionEvent.spans).toContainEqual( + expect.objectContaining({ + data: { + 'sentry.op': 'function.aws.lambda', + 'sentry.origin': 'auto.function.serverless', + 'sentry.source': 'component', + }, + description: 'my-lambda', + op: 'function.aws.lambda', + origin: 'auto.function.serverless', + }), + ); + // shows that the manual span creation is working expect(transactionEvent.spans).toContainEqual( expect.objectContaining({ diff --git a/yarn.lock b/yarn.lock index 7ac9dd7ab462..0534218ec0ba 100644 --- a/yarn.lock +++ b/yarn.lock @@ -27224,17 +27224,17 @@ pkg-up@^3.1.0: dependencies: find-up "^3.0.0" -playwright-core@1.49.0: - version "1.49.0" - resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.49.0.tgz#8e69ffed3f41855b854982f3632f2922c890afcb" - integrity sha512-R+3KKTQF3npy5GTiKH/T+kdhoJfJojjHESR1YEWhYuEKRVfVaxH3+4+GvXE5xyCngCxhxnykk0Vlah9v8fs3jA== +playwright-core@1.44.1: + version "1.44.1" + resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.44.1.tgz#53ec975503b763af6fc1a7aa995f34bc09ff447c" + integrity sha512-wh0JWtYTrhv1+OSsLPgFzGzt67Y7BE/ZS3jEqgGBlp2ppp1ZDj8c+9IARNW4dwf1poq5MgHreEM2KV/GuR4cFA== -playwright@1.49.0: - version "1.49.0" - resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.49.0.tgz#df6b9e05423377a99658202844a294a8afb95d0a" - integrity sha512-eKpmys0UFDnfNb3vfsf8Vx2LEOtflgRebl0Im2eQQnYMA4Aqd+Zw8bEOB+7ZKvN76901mRnqdsiOGKxzVTbi7A== +playwright@1.44.1: + version "1.44.1" + resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.44.1.tgz#5634369d777111c1eea9180430b7a184028e7892" + integrity sha512-qr/0UJ5CFAtloI3avF95Y0L1xQo6r3LQArLIg/z/PoGJ6xa+EwzrwO5lpNr/09STxdHuUoP2mvuELJS+hLdtgg== dependencies: - playwright-core "1.49.0" + playwright-core "1.44.1" optionalDependencies: fsevents "2.3.2"