@@ -3,7 +3,7 @@ import { expect } from '@playwright/test';
33import type { Event } from '@sentry/core' ;
44
55import { sentryTest } from '../../../../utils/fixtures' ;
6- import { getFirstSentryEnvelopeRequest , getMultipleSentryEnvelopeRequests } from '../../../../utils/helpers' ;
6+ import { getFirstSentryEnvelopeRequest , getMultipleSentryEnvelopeRequests , shouldSkipTracingTest } from '../../../../utils/helpers' ;
77
88async function mockSupabaseRoute ( page : Page ) {
99 await page . route ( '**/rest/v1/todos**' , route => {
@@ -20,6 +20,10 @@ async function mockSupabaseRoute(page: Page) {
2020}
2121
2222sentryTest ( 'should capture Supabase database operation breadcrumbs' , async ( { getLocalTestUrl, page } ) => {
23+ if ( shouldSkipTracingTest ( ) ) {
24+ return ;
25+ }
26+
2327 await mockSupabaseRoute ( page ) ;
2428
2529 const url = await getLocalTestUrl ( { testDir : __dirname } ) ;
@@ -37,6 +41,10 @@ sentryTest('should capture Supabase database operation breadcrumbs', async ({ ge
3741} ) ;
3842
3943sentryTest ( 'should capture multiple Supabase operations in sequence' , async ( { getLocalTestUrl, page } ) => {
44+ if ( shouldSkipTracingTest ( ) ) {
45+ return ;
46+ }
47+
4048 await mockSupabaseRoute ( page ) ;
4149
4250 const url = await getLocalTestUrl ( { testDir : __dirname } ) ;
@@ -53,6 +61,10 @@ sentryTest('should capture multiple Supabase operations in sequence', async ({ g
5361} ) ;
5462
5563sentryTest ( 'should include correct data payload in Supabase breadcrumbs' , async ( { getLocalTestUrl, page } ) => {
64+ if ( shouldSkipTracingTest ( ) ) {
65+ return ;
66+ }
67+
5668 await mockSupabaseRoute ( page ) ;
5769
5870 const url = await getLocalTestUrl ( { testDir : __dirname } ) ;
0 commit comments