File tree Expand file tree Collapse file tree 2 files changed +23
-10
lines changed
dev-packages/e2e-tests/test-applications/aws-serverless-esm/tests Expand file tree Collapse file tree 2 files changed +23
-10
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ test('AWS Serverless SDK sends events in ESM mode', async ({ request }) => {
4343 trace_id : expect . stringMatching ( / [ a - f 0 - 9 ] { 32 } / ) ,
4444 } ) ;
4545
46- expect ( transactionEvent . spans ) . toHaveLength ( 2 ) ;
46+ expect ( transactionEvent . spans ) . toHaveLength ( 3 ) ;
4747
4848 // shows that the Otel Http instrumentation is working
4949 expect ( transactionEvent . spans ) . toContainEqual (
@@ -58,6 +58,19 @@ test('AWS Serverless SDK sends events in ESM mode', async ({ request }) => {
5858 } ) ,
5959 ) ;
6060
61+ expect ( transactionEvent . spans ) . toContainEqual (
62+ expect . objectContaining ( {
63+ data : {
64+ 'sentry.op' : 'function.aws.lambda' ,
65+ 'sentry.origin' : 'auto.function.serverless' ,
66+ 'sentry.source' : 'component' ,
67+ } ,
68+ description : 'my-lambda' ,
69+ op : 'function.aws.lambda' ,
70+ origin : 'auto.function.serverless' ,
71+ } ) ,
72+ ) ;
73+
6174 // shows that the manual span creation is working
6275 expect ( transactionEvent . spans ) . toContainEqual (
6376 expect . objectContaining ( {
Original file line number Diff line number Diff line change @@ -27224,17 +27224,17 @@ pkg-up@^3.1.0:
2722427224 dependencies:
2722527225 find-up "^3.0.0"
2722627226
27227- playwright-core@1.49.0 :
27228- version "1.49.0 "
27229- resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.49.0 .tgz#8e69ffed3f41855b854982f3632f2922c890afcb "
27230- integrity sha512-R+3KKTQF3npy5GTiKH/T+kdhoJfJojjHESR1YEWhYuEKRVfVaxH3+4+GvXE5xyCngCxhxnykk0Vlah9v8fs3jA ==
27227+ playwright-core@1.44.1 :
27228+ version "1.44.1 "
27229+ resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.44.1 .tgz#53ec975503b763af6fc1a7aa995f34bc09ff447c "
27230+ integrity sha512-wh0JWtYTrhv1+OSsLPgFzGzt67Y7BE/ZS3jEqgGBlp2ppp1ZDj8c+9IARNW4dwf1poq5MgHreEM2KV/GuR4cFA ==
2723127231
27232- playwright@1.49.0 :
27233- version "1.49.0 "
27234- resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.49.0 .tgz#df6b9e05423377a99658202844a294a8afb95d0a "
27235- integrity sha512-eKpmys0UFDnfNb3vfsf8Vx2LEOtflgRebl0Im2eQQnYMA4Aqd+Zw8bEOB+7ZKvN76901mRnqdsiOGKxzVTbi7A ==
27232+ playwright@1.44.1 :
27233+ version "1.44.1 "
27234+ resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.44.1 .tgz#5634369d777111c1eea9180430b7a184028e7892 "
27235+ integrity sha512-qr/0UJ5CFAtloI3avF95Y0L1xQo6r3LQArLIg/z/PoGJ6xa+EwzrwO5lpNr/09STxdHuUoP2mvuELJS+hLdtgg ==
2723627236 dependencies:
27237- playwright-core "1.49.0 "
27237+ playwright-core "1.44.1 "
2723827238 optionalDependencies:
2723927239 fsevents "2.3.2"
2724027240
You can’t perform that action at this time.
0 commit comments