|
|
@@ -40,6 +40,7 @@ const exceptionList = [
|
|
|
'webgpu_tsl_editor',
|
|
|
'webxr_vr_video',
|
|
|
'webgpu_tsl_transpiler',
|
|
|
+ 'webgpu_rendertarget_2d-array_3d',
|
|
|
|
|
|
// Need more time to render
|
|
|
'css3d_mixed',
|
|
|
@@ -219,7 +220,7 @@ async function main() {
|
|
|
const buildInjection = ( code ) => code
|
|
|
.replace( /Math\.random\(\) \* 0xffffffff/g, 'Math._random() * 0xffffffff' )
|
|
|
// Disables WebGPU timestamp queries to prevent Inspector/Profiler from crashing in E2E software mode
|
|
|
- .replace( /this\.trackTimestamp\s*=\s*\(\s*parameters\.trackTimestamp\s*===\s*true\s*\);/g, "Object.defineProperty(this, 'trackTimestamp', { get: () => false, set: () => {} });" );
|
|
|
+ .replace( /this\.trackTimestamp\s*=\s*\(\s*parameters\.trackTimestamp\s*===\s*true\s*\);/g, 'Object.defineProperty(this, \'trackTimestamp\', { get: () => false, set: () => {} });' );
|
|
|
|
|
|
const cleanPage = await fs.readFile( 'test/e2e/clean-page.js', 'utf8' );
|
|
|
const injection = await fs.readFile( 'test/e2e/deterministic-injection.js', 'utf8' );
|