Skip to content

Commit

Permalink
dash-table: asserts that no warnings are emitted
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinerg committed Sep 29, 2021
1 parent 7645f49 commit 50f8c04
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions components/dash-table/tests/selenium/test_header.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,18 @@ def test_head004_change_single_row_header(test):

assert target.column("rows").get_text(0) == "Chill"
assert test.get_log_errors() == []


def test_head005_no_warnings_emitted(test):
test.start_server(
get_app(dict(merge_duplicate_headers=True)),
debug=True,
use_reloader=False,
use_debugger=True,
dev_tools_hot_reload=False,
)

target = test.table("table")

wait.until(lambda: target.column(6).get().get_attribute("colspan") == "4", 3)
assert test.get_logs() == []

0 comments on commit 50f8c04

Please sign in to comment.