Treasury & Bank Transfer Management System — سامانه مدیریت خزانه‌داری و حواله‌های بانکی

1 /** Wait for the hydrated editor, not just a changed URL, before GUI assertions. */
2 export function isIntegrationsEditorReady(page) {
3 if (!page || page.editor !== true || page.copy !== true) return false;
4 try {
5 const url = new URL(page.href);
6 return url.origin === 'http://127.0.0.1:3210' && url.pathname === '/integrations';
7 } catch {
8 return false;
9 }
10 }