Skip to content
Merged

2.0.0b8 #1329

Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
potentially fix flaky tests (specifically on github)
  • Loading branch information
Archmonger committed Feb 5, 2026
commit 48ecf9d2bd821242fab2dd3f77123a0b1980d09f
2 changes: 1 addition & 1 deletion tests/test_reactjs/test_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ async def test_nest_custom_component_under_web_component(display: DisplayFixture
be nested under web components.
"""
Container = reactpy.reactjs.component_from_file(
JS_FIXTURES_DIR / "nest-custom-under-web.js", "Container", name="nest-custom-under-web"
JS_FIXTURES_DIR / "nest-custom-under-web.js", "Container"
)

@reactpy.component
Expand Down
1 change: 1 addition & 0 deletions tests/test_web/test_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
THESE ARE TESTS FOR THE LEGACY API. SEE tests/test_reactjs/* FOR THE NEW API TESTS.
THE CONTENTS OF THIS MODULE WILL BE MIGRATED OR DELETED ONCE THE LEGACY API IS REMOVED.
"""

from pathlib import Path

import pytest
Expand Down
5 changes: 4 additions & 1 deletion tests/test_widgets.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
from base64 import b64encode
from pathlib import Path

import pytest

import reactpy
from reactpy.testing import DisplayFixture, poll
from reactpy.testing import GITHUB_ACTIONS, DisplayFixture, poll
from tests.tooling.common import DEFAULT_TYPE_DELAY

HERE = Path(__file__).parent
Expand Down Expand Up @@ -108,6 +110,7 @@ def SomeComponent():
await poll_value.until_equals(12)


@pytest.mark.flaky(reruns=10 if GITHUB_ACTIONS else 1)
async def test_use_linked_inputs_ignore_empty(display: DisplayFixture):
value = reactpy.Ref(None)

Expand Down