Skip to content

Commit

Permalink
update unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
jackie-pc committed Jan 22, 2024
1 parent feb9ef9 commit 4c45f59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions counter/tests/test_counter.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ def test_counter_app(counter_app: AppHarness):

state_manager = counter_app.app_instance.state_manager
assert len(counter_app.poll_for_clients()) == 1
backend_state = list(state_manager.states.values())[0].get_substate(["state", "state"])
backend_state = list(state_manager.states.values())[0].get_substate(["state", "count_state"])

count = driver.find_element(By.TAG_NAME, "h2")
count = driver.find_element(By.TAG_NAME, "h1")
assert counter_app.poll_for_content(count) == "0"

buttons = driver.find_elements(By.TAG_NAME, "button")
Expand Down

0 comments on commit 4c45f59

Please sign in to comment.