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

Function test_edit004_edit_focused

components/dash-table/tests/selenium/test_edit.py:84–99  ·  view source on GitHub ↗
(test, props)

Source from the content-addressed store, hash-verified

82
83@pytest.mark.parametrize("props", read_write_modes)
84def test_edit004_edit_focused(test, props):
85 test.start_server(get_app(props))
86
87 target = test.table("table")
88
89 c1 = target.cell(3, 1)
90 c1.click()
91
92 test.send_keys("abc")
93 # Selected everything again on click
94 c1.click()
95 test.send_keys("def")
96
97 assert c1.get_text() == "def"
98
99 assert test.get_log_errors() == []

Callers

nothing calls this directly

Calls 8

cellMethod · 0.80
send_keysMethod · 0.80
get_log_errorsMethod · 0.80
get_appFunction · 0.70
start_serverMethod · 0.45
tableMethod · 0.45
clickMethod · 0.45
get_textMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…