@davoodmehraban89 / Factor-easy / commits / 481f9fe
Fork 0

سامانه صدور فاکتور و حسابداری

Stabilize Office C4 mature-runtime readiness gate

davoodmehraban89 committed Oct 1, 2026 at 00:00 UTC 481f9fed434f127eaa32ccf8d69c649e783b5cad
1 file changed +1 -1
scripts/office-slice-c4.spec.js
+1 -1
@@ -3,7 +3,7 @@ const {test,expect}=require('@playwright/test');
3 test('Office C4 exposes versioned template controls without mutating registered history',async({page})=>{
4 const errs=[];page.on('pageerror',e=>errs.push(String(e)));
5 await page.goto('http://127.0.0.1:4173/index.html',{waitUntil:'domcontentloaded'});
6 - await page.waitForFunction(()=>typeof window.officeRender==='function');
6 + await page.waitForFunction(()=>typeof window.officeLoadTemplateCatalog==='function');
7 expect(await page.evaluate(()=>typeof window.officeLoadTemplateCatalog)).toBe('function');
8 expect(await page.evaluate(()=>typeof window.officeSaveTemplateVersion)).toBe('function');
9 expect(await page.evaluate(()=>typeof window.officeApplyTemplate)).toBe('function');