Skip to content

Commit

Permalink
fix test_props
Browse files Browse the repository at this point in the history
  • Loading branch information
falkoschindler committed Jan 29, 2023
1 parent 18df3b9 commit 986e933
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_element.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,16 @@ def assert_props(*props: str) -> None:
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):
Expand Down

0 comments on commit 986e933

Please sign in to comment.