@davoodmehraban89 / Factor-easy / commits / bcdc669
Fork 0

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

test(auth): read lexical currentUser from isolated Chromium fixture

davoodmehraban89 committed Oct 12, 2026 at 20:33 UTC bcdc669a8015eecb9924e4867ffa8f82ee849c85
1 file changed +1 -1
scripts/phase0-startup-performance.spec.js
+1 -1
@@ -123,7 +123,7 @@ test('F0 restored session with stalled company data returns actionable error ins
123 state:document.getElementById('auth-login-status').dataset.state,
124 message:document.getElementById('auth-login-status').textContent,
125 visible:getComputedStyle(document.getElementById('auth-screen')).display,
126 - currentUser:window.currentUser
126 + currentUser:currentUser
127 };
128 });
129 expect(actual.state).toBe('error');