@@ -34,7 +34,6 @@ def App():
3434 assert "btn-primary" in classes
3535
3636
37- @pytest .mark .anyio
3837@pytest .mark .flaky (reruns = 5 , reruns_delay = 2 )
3938async def test_component_from_npm_material_ui (display : DisplayFixture ):
4039 Button = component_from_npm ("@mui/material" , "Button" )
@@ -51,7 +50,6 @@ def App():
5150 assert "MuiButton-root" in classes
5251
5352
54- @pytest .mark .anyio
5553@pytest .mark .flaky (reruns = 5 , reruns_delay = 2 )
5654async def test_component_from_npm_antd (display : DisplayFixture ):
5755 # Try antd v4 which might be more stable with esm.sh
@@ -68,7 +66,6 @@ def App():
6866 assert "ant-btn" in classes
6967
7068
71- @pytest .mark .anyio
7269@pytest .mark .flaky (reruns = 5 , reruns_delay = 2 )
7370async def test_component_from_npm_chakra_ui (display : DisplayFixture ):
7471 ChakraProvider , Button = component_from_npm (
@@ -88,7 +85,6 @@ def App():
8885 assert "chakra-button" in classes
8986
9087
91- @pytest .mark .anyio
9288@pytest .mark .flaky (reruns = 5 , reruns_delay = 2 )
9389async def test_component_from_npm_semantic_ui_react (display : DisplayFixture ):
9490 Button = component_from_npm ("semantic-ui-react" , "Button" )
@@ -105,7 +101,6 @@ def App():
105101 assert "button" in classes
106102
107103
108- @pytest .mark .anyio
109104@pytest .mark .flaky (reruns = 5 , reruns_delay = 2 )
110105async def test_component_from_npm_mantine (display : DisplayFixture ):
111106 MantineProvider , Button = component_from_npm (
@@ -123,7 +118,6 @@ def App():
123118 assert "mantine-Button-root" in classes
124119
125120
126- @pytest .mark .anyio
127121@pytest .mark .flaky (reruns = 5 , reruns_delay = 2 )
128122async def test_component_from_npm_fluent_ui (display : DisplayFixture ):
129123 PrimaryButton = component_from_npm ("@fluentui/react" , "PrimaryButton" )
@@ -139,7 +133,6 @@ def App():
139133 assert "ms-Button" in classes
140134
141135
142- @pytest .mark .anyio
143136@pytest .mark .flaky (reruns = 5 , reruns_delay = 2 )
144137async def test_component_from_npm_blueprint (display : DisplayFixture ):
145138 Button = component_from_npm ("@blueprintjs/core" , "Button" )
@@ -155,7 +148,6 @@ def App():
155148 assert any (c .startswith ("bp" ) and "button" in c for c in classes .split ())
156149
157150
158- @pytest .mark .anyio
159151@pytest .mark .flaky (reruns = 5 , reruns_delay = 2 )
160152async def test_component_from_npm_grommet (display : DisplayFixture ):
161153 Grommet , Button = component_from_npm ("grommet" , ["Grommet" , "Button" ])
@@ -171,7 +163,6 @@ def App():
171163 assert await button .inner_text () == "Click me"
172164
173165
174- @pytest .mark .anyio
175166@pytest .mark .flaky (reruns = 5 , reruns_delay = 2 )
176167async def test_component_from_npm_evergreen (display : DisplayFixture ):
177168 Button = component_from_npm ("evergreen-ui" , "Button" )
@@ -185,7 +176,6 @@ def App():
185176 assert await button .inner_text () == "Click me"
186177
187178
188- @pytest .mark .anyio
189179@pytest .mark .flaky (reruns = 5 , reruns_delay = 2 )
190180async def test_component_from_npm_react_spinners (display : DisplayFixture ):
191181 ClipLoader = component_from_npm ("react-spinners" , "ClipLoader" )
@@ -209,7 +199,6 @@ def App():
209199 assert await loader .is_visible ()
210200
211201
212- @pytest .mark .anyio
213202@pytest .mark .flaky (reruns = 5 , reruns_delay = 2 )
214203async def test_nested_npm_components (display : DisplayFixture ):
215204 # Use Chakra UI Provider and Box, and nest a React Bootstrap Button inside
@@ -246,7 +235,6 @@ def App():
246235 assert "btn" in classes
247236
248237
249- @pytest .mark .anyio
250238@pytest .mark .flaky (reruns = 5 , reruns_delay = 2 )
251239async def test_interleaved_npm_and_server_components (display : DisplayFixture ):
252240 Card = component_from_npm ("antd" , "Card" , version = "4.24.15" )
@@ -279,7 +267,6 @@ def App():
279267 assert "MUI BUTTON" in await button .inner_text () # MUI capitalizes
280268
281269
282- @pytest .mark .anyio
283270@pytest .mark .flaky (reruns = 5 , reruns_delay = 2 )
284271async def test_complex_nested_material_ui (display : DisplayFixture ):
285272 # Import multiple components from @mui/material
0 commit comments