سامانه صدور فاکتور و حسابداری
Mirrored from https://github.com/davoodmehraban89/Factor-easy.git
Synced Dec 3, 17:00 UTC
QA: guard live shell cache-buster
davoodmehraban89 committed
Oct 2, 2026 at 12:09 UTC
14f3f34bf4ec644a2ba4d6b9c8645ff1f6815524
1 file changed
+2
scripts/shell-scroll-ownership.spec.js
+2
@@ -3,6 +3,8 @@ const {test,expect}=require('@playwright/test');
3
test('desktop shell keeps three independent right-edge vertical scroll owners',async({page})=>{
4
await page.setViewportSize({width:1536,height:420});
5
await page.goto('http://127.0.0.1:4173/index.html',{waitUntil:'domcontentloaded'});
6
+ const uiSrc=await page.locator('script[src^="js/ui.js"]').getAttribute('src');
7
+ expect(uiSrc).toBe('js/ui.js?v=20261002-shell-scroll-ownership-v2');
8
const result=await page.evaluate(()=>{
9
const rail=document.getElementById('module-rail');
10
const panel=document.getElementById('module-panel-links');