File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed
components/dash-table/tests/selenium Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,6 @@ def test_tbcp004_copy_9_and_10(test):
173
173
174
174
assert test .get_log_errors () == []
175
175
176
-
177
176
@pytest .mark .skip (
178
177
reason = "Prop `data_previous` is not correctly updated with copy+paste"
179
178
)
@@ -278,3 +277,25 @@ def test_tbcp008_copy_paste_between_tables_with_hidden_columns(test):
278
277
)
279
278
280
279
assert test .get_log_errors () == []
280
+
281
+ def test_tbcp009_copy_9_and_10_click (test ):
282
+ test .start_server (get_app ())
283
+
284
+ source = test .table ("table" )
285
+ target = test .table ("table2" )
286
+
287
+ source .cell (9 , 0 ).click ()
288
+ with test .hold (Keys .SHIFT ):
289
+ source .cell (10 , 0 ).click ()
290
+
291
+ test .copy ()
292
+ target .cell (0 , 0 ).click ()
293
+ test .paste ()
294
+
295
+ for row in range (2 ):
296
+ for col in range (1 ):
297
+ assert (
298
+ target .cell (row , col ).get_text () == source .cell (row + 9 , col ).get_text ()
299
+ )
300
+
301
+ assert test .get_log_errors () == []
You can’t perform that action at this time.
0 commit comments