File tree 2 files changed +7
-3
lines changed
packages/integration-tests
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ import { shouldSkipWASMTests } from '../../utils/wasmHelpers';
7
7
8
8
sentryTest (
9
9
'captured exception should include modified frames and debug_meta attribute' ,
10
- async ( { getLocalTestPath, page } ) => {
11
- if ( shouldSkipWASMTests ( ) ) {
10
+ async ( { getLocalTestPath, page, browserName } ) => {
11
+ if ( shouldSkipWASMTests ( browserName ) ) {
12
12
sentryTest . skip ( ) ;
13
13
}
14
14
Original file line number Diff line number Diff line change 2
2
* We can only test WASM tests in certain bundles/packages:
3
3
* - NPM (ESM, CJS)
4
4
* - ES6 CDN bundles
5
+ * - On browsers other than WebKit
5
6
*
6
7
* @returns `true` if we should skip the replay test
7
8
*/
8
- export function shouldSkipWASMTests ( ) : boolean {
9
+ export function shouldSkipWASMTests ( browser : string ) : boolean {
10
+ if ( browser === 'webkit' ) {
11
+ return true ;
12
+ }
9
13
const bundle = process . env . PW_BUNDLE as string | undefined ;
10
14
return bundle != null && bundle . includes ( 'es5' ) ;
11
15
}
You can’t perform that action at this time.
0 commit comments