Skip to content

Commit

Permalink
message is no longer conditional; change test
Browse files Browse the repository at this point in the history
  • Loading branch information
mccalluc committed Nov 25, 2024
1 parent a77c141 commit 1e8557b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
default_app = create_app_fixture(Path(__file__).parent / "fixtures/default_app.py")
tooltip = "#choose_csv_demo_tooltip_ui svg"
for_the_demo = "For the demo, we'll imagine"
simulation = "This simulation assumes a normal distribution"
simulation = "This simulation will assume a normal distribution"


# TODO: Why is incomplete coverage reported here?
Expand Down Expand Up @@ -96,14 +96,14 @@ def expect_no_error():
page.get_by_label("Upper").fill(new_value)
# Uncheck the column:
page.get_by_label("grade").uncheck()
expect_not_visible(simulation)
expect_visible(simulation)
# Recheck the column:
page.get_by_label("grade").check()
expect_visible(simulation)
assert page.get_by_label("Upper").input_value() == new_value
# Add a second column:
page.get_by_label("blank").check()
expect_visible("Weight")
expect(page.get_by_text("Weight")).to_have_count(2)
# TODO: Setting more inputs without checking for updates
# causes recalculations to pile up, and these cause timeouts on CI:
# It is still rerendering the graph after hitting "Download results".
Expand Down

0 comments on commit 1e8557b

Please sign in to comment.