Skip to content

Commit

Permalink
Merge pull request plotly#2923 from plotly/rm-polyfill
Browse files Browse the repository at this point in the history
remove polyfill.io from test case.
  • Loading branch information
T4rk1n authored Jul 16, 2024
2 parents 351a81f + db2e765 commit c847882
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/integration/dash_assets/test_dash_assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ def test_dada001_assets(dash_duo):
def test_dada002_external_files_init(dash_duo):
js_files = [
"https://www.google-analytics.com/analytics.js",
{"src": "https://cdn.polyfill.io/v2/polyfill.min.js"},
{
"src": "https://cdnjs.cloudflare.com/ajax/libs/ramda/0.26.1/ramda.min.js",
"integrity": "sha256-43x9r7YRdZpZqTjDT5E0Vfrxn1ajIZLyYWtfAXsargA=",
Expand Down
3 changes: 3 additions & 0 deletions tests/integration/renderer/test_component_as_prop.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
from dash.dcc import Checklist, Dropdown
from dash.html import Button, Div, Span

from flaky import flaky


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


@flaky(max_runs=3)
def test_rdcap003_side_effect_regression(dash_duo):
# Test for #2411, regression introduced by original rdcap002 fix
# callback on the same components that is output with same id but not property triggered
Expand Down
3 changes: 3 additions & 0 deletions tests/integration/renderer/test_request_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import flask
import pytest

from flaky import flaky

from dash import Dash, Output, Input, html, dcc
from dash.types import RendererHooks
from werkzeug.exceptions import HTTPException
Expand Down Expand Up @@ -198,6 +200,7 @@ def update_output(value):
assert dash_duo.get_logs() == []


@flaky(max_runs=3)
@pytest.mark.parametrize("expiry_code", [401, 400])
def test_rdrh003_refresh_jwt(expiry_code, dash_duo):
app = Dash(__name__)
Expand Down

0 comments on commit c847882

Please sign in to comment.