';
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('v17.6.9 offer workspace module boots', async ({ page }) => {
await page.goto('/index.html',{waitUntil:'domcontentloaded'});
const source=fs.readFileSync(path.join(process.cwd(),'public','core','offer-workspace-v1769.js'),'utf8');
await page.evaluate(()=>{
document.body.innerHTML='