MCPcopy Create free account
hub / github.com/plotly/dash / test_mark001_header

Function test_mark001_header

components/dash-table/tests/selenium/test_markdown.py:27–46  ·  view source on GitHub ↗
(test)

Source from the content-addressed store, hash-verified

25
26
27def test_mark001_header(test):
28 test.start_server(get_app())
29
30 target = test.table("table")
31
32 target.column(0).sort(1)
33 assert (
34 target.cell(0, "markdown-headers")
35 .find_inside(".dash-cell-value > p")
36 .get_attribute("innerHTML")
37 == "row 0"
38 )
39
40 target.column(0).sort(1)
41 assert (
42 target.cell(0, "markdown-headers")
43 .find_inside(".dash-cell-value > h5")
44 .get_attribute("innerHTML")
45 == "row 95"
46 )
47
48
49def test_mark002_emphasized_text(test):

Callers

nothing calls this directly

Calls 7

columnMethod · 0.80
cellMethod · 0.80
get_appFunction · 0.70
start_serverMethod · 0.45
tableMethod · 0.45
sortMethod · 0.45
find_insideMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…