Skip to content

Commit c2200d6

Browse files
committed
more fresh browsers
1 parent 08994ff commit c2200d6

7 files changed

Lines changed: 16 additions & 7 deletions

File tree

components/dash-core-components/tests/integration/calendar/test_a11y_date_picker_single.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,8 @@ def test_a11y005_keyboard_navigation_home_end_monday_start(dash_dcc_fresh_browse
207207
assert dash_dcc.get_logs() == []
208208

209209

210-
def test_a11y006_keyboard_navigation_rtl(dash_dcc):
210+
def test_a11y006_keyboard_navigation_rtl(dash_dcc_fresh_browser):
211+
dash_dcc = dash_dcc_fresh_browser
211212
app = create_date_picker_app(
212213
{
213214
"date": "2021-01-15",

components/dash-core-components/tests/integration/download/test_download_file.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
from dash.testing.wait import until
55

66

7-
def test_dlfi001_download_file(dash_dcc):
7+
def test_dlfi001_download_file(dash_dcc_fresh_browser):
8+
dash_dcc = dash_dcc_fresh_browser
89
filename = "chuck.jpg"
910
asset_folder = os.path.join(os.path.dirname(__file__), "download-assets")
1011
# Create app.

components/dash-core-components/tests/integration/sliders/test_sliders.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ def update_output(value):
3636
assert dash_dcc.get_logs() == []
3737

3838

39-
def test_slsl002_always_visible_rangeslider(dash_dcc):
39+
def test_slsl002_always_visible_rangeslider(dash_dcc_fresh_browser):
40+
dash_dcc = dash_dcc_fresh_browser
4041
app = Dash(__name__)
4142
app.layout = html.Div(
4243
style={"width": "400px"},

tests/integration/callbacks/test_basic_callback.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ def update_input(value):
155155
assert dash_duo.get_logs() == [], "console is clean"
156156

157157

158-
def test_cbsc003_callback_with_unloaded_async_component(dash_duo):
158+
def test_cbsc003_callback_with_unloaded_async_component(dash_duo_fresh_browser):
159+
dash_duo = dash_duo_fresh_browser
159160
app = Dash()
160161
app.layout = html.Div(
161162
children=[

tests/integration/callbacks/test_callback_optional.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
from dash import Dash, html, Output, Input, State, no_update
22

33

4-
def test_cbop001_optional_input(dash_duo):
4+
def test_cbop001_optional_input(dash_duo_fresh_browser):
5+
dash_duo = dash_duo_fresh_browser
56
app = Dash(suppress_callback_exceptions=True)
67

78
app.layout = html.Div(

tests/integration/multi_page/test_pages_relative_path.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ def test_pare002_relative_path_with_url_base_pathname(
7676
assert dash_br.get_logs() == [], "browser console should contain no error"
7777

7878

79-
def test_pare003_absolute_path(dash_duo, clear_pages_state):
79+
def test_pare003_absolute_path(dash_duo_fresh_browser, clear_pages_state):
80+
dash_duo = dash_duo_fresh_browser
8081
pages_folder = Path(__file__).parent / "pages"
8182
dash_duo.start_server(
8283
get_app(Dash(__name__, use_pages=True, pages_folder=pages_folder))

tests/integration/test_integration.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,10 @@ def render_content(tab):
303303
until(lambda: '"label": 3' in dash_duo.find_element("#graph2_info").text, timeout=3)
304304

305305

306-
def test_inin027_multi_page_without_pages_folder(dash_duo, clear_pages_state):
306+
def test_inin027_multi_page_without_pages_folder(
307+
dash_duo_fresh_browser, clear_pages_state
308+
):
309+
dash_duo = dash_duo_fresh_browser
307310
app = Dash(__name__, pages_folder="")
308311

309312
# test for storing arbitrary keyword arguments: An `id` prop is defined for every page

0 commit comments

Comments
 (0)