@davoodmehraban89 / Factor-easy-2 Mirror · read-only / commits / 8d391f8
Fork 0

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

Mirrored from https://github.com/davoodmehraban89/Factor-easy.git

Synced Dec 3, 15:45 UTC

Fully isolate Office C8 policy editor DOM smoke

davoodmehraban89 committed Oct 1, 2026 at 20:51 UTC 8d391f85e22f5a4d10afb5b420565e2e48b91c34
1 file changed +1 -1
scripts/office-slice-c8.spec.js
+1 -1
@@ -1,6 +1,6 @@
1 const {test,expect}=require('@playwright/test');
2 async function isolatePolicyEditor(page){
3 - await page.addStyleTag({content:'#auth-screen{display:none!important;pointer-events:none!important}'});
3 + await page.addStyleTag({content:'#auth-screen,.app-root{display:none!important;pointer-events:none!important}#c8-root{display:block!important;position:relative!important;z-index:2147483647!important}'});
4 }
5 test('Office C8 policy editor publishes a two-stage policy',async({page})=>{
6 await page.goto('http://127.0.0.1:4173/index.html',{waitUntil:'domcontentloaded'});