';
- window.SunDeveloperV22={open:async()=>true,activateTab:async()=>true};
- window.SunCloudV2={getClient:()=>null};
- window.SunEnterprise={toast:()=>null};
- });
- await page.addScriptTag({content:source});
- await page.waitForFunction(()=>Boolean(window.SunDeveloperUXV1768),null,{timeout:5000});
- const result=await page.evaluate(()=>window.SunDeveloperUXV1768.checks());
- expect(result.version).toBe('17.6.8');
+test('Developer Console UX module boots', async ({ page }) => {
+ await page.goto('/index.html',{waitUntil:'domcontentloaded'});const source=fs.readFileSync(path.join(process.cwd(),'public','core','developer-console-v1768.js'),'utf8');
+ await page.evaluate(()=>{document.body.innerHTML='