1
0
Rodja Trappe 2 жил өмнө
parent
commit
c0e2f10b9a

+ 0 - 1
tests/conftest.py

@@ -11,7 +11,6 @@ if True:  # NOTE: prevent formatter from sorting the imports (nicegui must come
 
 from justpy.htmlcomponents import JustpyBaseComponent, WebPage
 from selenium import webdriver
-from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
 
 from .screen import Screen
 

+ 0 - 2
tests/screen.py

@@ -113,12 +113,10 @@ class Screen():
     @staticmethod
     def simplify_input_tags(soup: BeautifulSoup) -> None:
         for element in soup.find_all(class_="q-field"):
-            print(element.prettify())
             new = soup.new_tag('simple_input')
             name = element.find(class_='q-field__label').text
             placeholder = element.find(class_='q-field__native').get('placeholder')
             messages = element.find(class_='q-field__messages')
-            ic(messages)
             value = element.find(class_='q-field__native').get('value')
             new.string = (f'{name}: ' if name else '') + (value or placeholder or '') + \
                 (f' \u002A{messages.text}' if messages else '')

+ 0 - 1
tests/test_3d_scene.py

@@ -15,7 +15,6 @@ def test_moving_sphere_with_timer(screen: Screen):
         for i in range(20):
             try:
                 pos = screen.selenium.execute_script('return scene.children[4].position.y')
-                ic(pos)
                 if pos is not None:
                     return pos
             except JavascriptException: