瀏覽代碼

fix test_props

Falko Schindler 2 年之前
父節點
當前提交
986e933add
共有 1 個文件被更改,包括 4 次插入4 次删除
  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)}]')
 
     screen.open('/')
-    assert_props('standard', 'labeled')
+    assert_props('standard')
 
     input.props('dark')
-    assert_props('standard', 'labeled', 'dark')
+    assert_props('standard', 'dark')
 
     input.props('dark')
-    assert_props('standard', 'labeled', 'dark')
+    assert_props('standard', 'dark')
 
     input.props(remove='dark')
-    assert_props('standard', 'labeled')
+    assert_props('standard')
 
 
 def test_remove_and_clear(screen: Screen):