Skip to content

Commit c847882

Browse files
authored
Merge pull request plotly#2923 from plotly/rm-polyfill
remove polyfill.io from test case.
2 parents 351a81f + db2e765 commit c847882

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

tests/integration/dash_assets/test_dash_assets.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ def test_dada001_assets(dash_duo):
5757
def test_dada002_external_files_init(dash_duo):
5858
js_files = [
5959
"https://www.google-analytics.com/analytics.js",
60-
{"src": "https://cdn.polyfill.io/v2/polyfill.min.js"},
6160
{
6261
"src": "https://cdnjs.cloudflare.com/ajax/libs/ramda/0.26.1/ramda.min.js",
6362
"integrity": "sha256-43x9r7YRdZpZqTjDT5E0Vfrxn1ajIZLyYWtfAXsargA=",

tests/integration/renderer/test_component_as_prop.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
from dash.dcc import Checklist, Dropdown
88
from dash.html import Button, Div, Span
99

10+
from flaky import flaky
11+
1012

1113
def opt(u):
1214
return {
@@ -346,6 +348,7 @@ def demo(n_clicks):
346348
dash_duo.wait_for_text_to_equal(f"#options label:nth-child({i}) span", "1")
347349

348350

351+
@flaky(max_runs=3)
349352
def test_rdcap003_side_effect_regression(dash_duo):
350353
# Test for #2411, regression introduced by original rdcap002 fix
351354
# callback on the same components that is output with same id but not property triggered

tests/integration/renderer/test_request_hooks.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
import flask
44
import pytest
55

6+
from flaky import flaky
7+
68
from dash import Dash, Output, Input, html, dcc
79
from dash.types import RendererHooks
810
from werkzeug.exceptions import HTTPException
@@ -198,6 +200,7 @@ def update_output(value):
198200
assert dash_duo.get_logs() == []
199201

200202

203+
@flaky(max_runs=3)
201204
@pytest.mark.parametrize("expiry_code", [401, 400])
202205
def test_rdrh003_refresh_jwt(expiry_code, dash_duo):
203206
app = Dash(__name__)

0 commit comments

Comments
 (0)