Skip to content

Commit

Permalink
Modifies test to check that strings are allowed in layout list
Browse files Browse the repository at this point in the history
  • Loading branch information
leeagustin committed Jun 22, 2024
1 parent 941a95b commit af89e96
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/integration/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,8 @@ def test_inin028_layout_as_list(dash_duo):
app = Dash()

app.layout = [
"string1",
"string2",
html.Div("one", id="one"),
html.Div("two", id="two"),
html.Button("direct", id="direct"),
Expand All @@ -458,6 +460,9 @@ def on_nested_click(n_clicks):

dash_duo.start_server(app)

dash_duo.wait_for_contains_text("#react-entry-point", "string1")
dash_duo.wait_for_contains_text("#react-entry-point", "string2")

dash_duo.wait_for_text_to_equal("#one", "one")
dash_duo.wait_for_text_to_equal("#two", "two")

Expand Down

0 comments on commit af89e96

Please sign in to comment.