Browse Source

fix test_props

Falko Schindler 2 years ago
parent
commit
986e933add
1 changed files with 4 additions and 4 deletions
  1. 4 4
      tests/test_element.py

+ 4 - 4
tests/test_element.py

@@ -85,16 +85,16 @@ def test_props(screen: Screen):
         assert screen.selenium.find_element(By.XPATH, f'//label[{" and ".join(class_conditions)}]')
         assert screen.selenium.find_element(By.XPATH, f'//label[{" and ".join(class_conditions)}]')
 
 
     screen.open('/')
     screen.open('/')
-    assert_props('standard', 'labeled')
+    assert_props('standard')
 
 
     input.props('dark')
     input.props('dark')
-    assert_props('standard', 'labeled', 'dark')
+    assert_props('standard', 'dark')
 
 
     input.props('dark')
     input.props('dark')
-    assert_props('standard', 'labeled', 'dark')
+    assert_props('standard', 'dark')
 
 
     input.props(remove='dark')
     input.props(remove='dark')
-    assert_props('standard', 'labeled')
+    assert_props('standard')
 
 
 
 
 def test_remove_and_clear(screen: Screen):
 def test_remove_and_clear(screen: Screen):