o
    i                     @   s    d Z ddlmZmZ dd ZdS )zTests shutdown of the Kernel.   )wait_for_selectorwait_for_xpathc                 C   s   | j dd t| jddd  t| jddd  t| jddd  t| jddd	 | d
 |  r7J t|  d
ksAJ d S )Nz	print(21))contentz//a[text()="Kernel"]T)singlez#shutdown_kernelz".btn.btn-default.btn-sm.btn-dangerz//div[contains(@class,'modal')])obscures    )		edit_cellr   browserclickr   execute_cellis_kernel_runninglenget_cell_output)notebook r   `/var/www/edux/Edux_v2/venv/lib/python3.10/site-packages/notebook/tests/selenium/test_shutdown.pytest_shutdown   s   
r   N)__doc__utilsr   r   r   r   r   r   r   <module>   s    