Skip to content

Commit af89e96

Browse files
committed
Modifies test to check that strings are allowed in layout list
1 parent 941a95b commit af89e96

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/integration/test_integration.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,8 @@ def test_inin028_layout_as_list(dash_duo):
433433
app = Dash()
434434

435435
app.layout = [
436+
"string1",
437+
"string2",
436438
html.Div("one", id="one"),
437439
html.Div("two", id="two"),
438440
html.Button("direct", id="direct"),
@@ -458,6 +460,9 @@ def on_nested_click(n_clicks):
458460

459461
dash_duo.start_server(app)
460462

463+
dash_duo.wait_for_contains_text("#react-entry-point", "string1")
464+
dash_duo.wait_for_contains_text("#react-entry-point", "string2")
465+
461466
dash_duo.wait_for_text_to_equal("#one", "one")
462467
dash_duo.wait_for_text_to_equal("#two", "two")
463468

0 commit comments

Comments
 (0)