MCPcopy Index your code
hub / github.com/plotly/dash / check_table_names

Function check_table_names

tests/integration/renderer/test_persistence.py:80–91  ·  view source on GitHub ↗
(dash_duo, names, table_id="table")

Source from the content-addressed store, hash-verified

78
79
80def check_table_names(dash_duo, names, table_id="table"):
81 dash_duo.wait_for_text_to_equal(
82 "#{} .column-0 .column-header-name".format(table_id), names[0]
83 )
84 headers = dash_duo.find_elements("#{} .column-header-name".format(table_id))
85 assert len(headers) == len(names)
86
87 for i, n in enumerate(names):
88 name_el = dash_duo.find_element(
89 "#{} .column-{} .column-header-name".format(table_id, i)
90 )
91 assert name_el.text == n
92
93
94def test_rdps001_local_reload(dash_duo):

Calls 4

find_elementsMethod · 0.80
find_elementMethod · 0.80
formatMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…