File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed
dev-packages/browser-integration-tests/suites/integrations/supabase Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,12 @@ sentryTest('should capture Supabase authentication spans', async ({ getLocalTest
7171 return ;
7272 }
7373
74+ const bundle = process . env . PW_BUNDLE || '' ;
75+ // We only want to run this in non-CDN bundle mode
76+ if ( bundle . startsWith ( 'bundle' ) ) {
77+ sentryTest . skip ( ) ;
78+ }
79+
7480 await mockSupabaseAuthRoutesSuccess ( page ) ;
7581
7682 const url = await getLocalTestUrl ( { testDir : __dirname } ) ;
@@ -113,6 +119,12 @@ sentryTest('should capture Supabase authentication errors', async ({ getLocalTes
113119 return ;
114120 }
115121
122+ const bundle = process . env . PW_BUNDLE || '' ;
123+ // We only want to run this in non-CDN bundle mode
124+ if ( bundle . startsWith ( 'bundle' ) ) {
125+ sentryTest . skip ( ) ;
126+ }
127+
116128 await mockSupabaseAuthRoutesFailure ( page ) ;
117129
118130 const url = await getLocalTestUrl ( { testDir : __dirname } ) ;
Original file line number Diff line number Diff line change @@ -24,6 +24,12 @@ sentryTest('should capture Supabase database operation breadcrumbs', async ({ ge
2424 return ;
2525 }
2626
27+ const bundle = process . env . PW_BUNDLE || '' ;
28+ // We only want to run this in non-CDN bundle mode
29+ if ( bundle . startsWith ( 'bundle' ) ) {
30+ sentryTest . skip ( ) ;
31+ }
32+
2733 await mockSupabaseRoute ( page ) ;
2834
2935 const url = await getLocalTestUrl ( { testDir : __dirname } ) ;
@@ -45,6 +51,12 @@ sentryTest('should capture multiple Supabase operations in sequence', async ({ g
4551 return ;
4652 }
4753
54+ const bundle = process . env . PW_BUNDLE || '' ;
55+ // We only want to run this in non-CDN bundle mode
56+ if ( bundle . startsWith ( 'bundle' ) ) {
57+ sentryTest . skip ( ) ;
58+ }
59+
4860 await mockSupabaseRoute ( page ) ;
4961
5062 const url = await getLocalTestUrl ( { testDir : __dirname } ) ;
@@ -65,6 +77,12 @@ sentryTest('should include correct data payload in Supabase breadcrumbs', async
6577 return ;
6678 }
6779
80+ const bundle = process . env . PW_BUNDLE || '' ;
81+ // We only want to run this in non-CDN bundle mode
82+ if ( bundle . startsWith ( 'bundle' ) ) {
83+ sentryTest . skip ( ) ;
84+ }
85+
6886 await mockSupabaseRoute ( page ) ;
6987
7088 const url = await getLocalTestUrl ( { testDir : __dirname } ) ;
You can’t perform that action at this time.
0 commit comments