Ë
    ÁÊÞj“  ã                   ó    — d Z ddlZddlmZ ddlmZ ddlmZ ddl	m
Z  eej                  j                  d«      d«       G d„ d	e«      «       Zy)
z?TEMPORAIRE : diagnostic du decalage du header apres une erreur.é    N)Ú
skipUnless)ÚStaticLiveServerTestCase)Úreverse)Útests_quick_billing_browserÚ
playwrightc                   óD   — e Zd Zej                  j
                  Zd„ Zd„ Zy)ÚDebugc                 óB   — t         j                  j                  | «       y )N)Úquick_browserÚQuickBillingBrowserTestsÚsetUp)Úselfs    úsD:\ProjetDjango\USER_FacControl_enligne\FacControl_demo\Application\FacControl_demo\configuration\tests_zz_debug.pyr   zDebug.setUp   s   € Ü×.Ñ.×4Ñ4°TÕ:ó    c                 óf  — d}| j                  dddœ¬«      5 }|j                  | j                  t        d«      z   d¬«       |j	                  d	«      j                  «        |j                  d«       |j                  d
«       t        d|j                  |«      «       d d d «       y # 1 sw Y   y xY w)Na²  () => {
          const scrollers = [...document.querySelectorAll('*')].filter((el) => el.scrollTop > 0).map((el) => `${el.tagName}#${el.id}.${el.className}`.slice(0, 80) + ' top=' + el.scrollTop);
          return JSON.stringify({scrollY: window.scrollY, header: document.getElementById('header').getBoundingClientRect().top,
            html: document.documentElement.scrollTop, body: document.body.scrollTop, scrollers});
        }iV  i   )ÚwidthÚheight)Úviewportzfacturation:configurationÚload)Ú
wait_untilz(.fc-settings-savebar button[type=submit]iô  zafter error:)
ÚbrowserÚgotoÚlive_server_urlr   ÚlocatorÚclickÚwait_for_load_stateÚwait_for_timeoutÚprintÚevaluate)r   ÚprobeÚpages      r   Ú
test_debugzDebug.test_debug   s”   € ðˆð
 �\‰\¨T¸SÑ#Aˆ\ÔBÀdØ�I‰I�d×*Ñ*¬WÐ5PÓ-QÑQÐ^dˆIÔeØ�L‰LÐCÓD×JÑJÔLØ×$Ñ$ VÔ,Ø×!Ñ! #Ô&Ü�. $§-¡-°Ó"6Ô7÷ C×BÑBús   ˜BB'Â'B0N)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r"   © r   r   r	   r	      s   „ à×4Ñ4×<Ñ<€Gò;ó8r   r	   )Ú__doc__Úimportlib.utilÚ	importlibÚunittestr   Ú"django.contrib.staticfiles.testingr   Údjango.urlsr   Úfacturationr   r   ÚutilÚ	find_specr	   r&   r   r   Ú<module>r0      sJ   ðÙ EÛ Ý å GÝ å Dñ ˆI�N‰N×$Ñ$ \Ó2°LÓAô8Ð$ó 8ó Bñ8r   