File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
components/dash-core-components/tests/integration/dropdown Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 1+ from time import sleep
12from dash import Dash
23from dash .dcc import Dropdown
34from dash .html import Div
@@ -39,11 +40,13 @@ def test_ddlo001_translations(dash_duo):
3940 )
4041
4142 dash_duo .find_element (".dash-dropdown-search" ).send_keys (1 )
43+ sleep (0.1 )
4244 assert dash_duo .find_element (".dash-dropdown-clear" ).accessible_name == "Annuler"
4345
4446 dash_duo .find_element (".dash-dropdown-action-button:first-child" ).click ()
4547
4648 dash_duo .find_element (".dash-dropdown-search" ).send_keys (9 )
49+ sleep (0.1 )
4750 assert dash_duo .find_element (".dash-dropdown-option" ).text == "Aucun d'options"
4851
4952 assert (
@@ -84,13 +87,15 @@ def test_ddlo002_partial_translations(dash_duo):
8487 assert dash_duo .find_element (".dash-dropdown-search" ).accessible_name == "Lookup"
8588
8689 dash_duo .find_element (".dash-dropdown-search" ).send_keys (1 )
90+ sleep (0.1 )
8791 assert (
8892 dash_duo .find_element (".dash-dropdown-clear" ).accessible_name == "Clear search"
8993 )
9094
9195 dash_duo .find_element (".dash-dropdown-action-button:first-child" ).click ()
9296
9397 dash_duo .find_element (".dash-dropdown-search" ).send_keys (9 )
98+ sleep (0.1 )
9499 assert dash_duo .find_element (".dash-dropdown-option" ).text == "No options found"
95100
96101 assert (
You can’t perform that action at this time.
0 commit comments