Skip to content

Commit 8bb713a

Browse files
committed
ExpansionPanelList basic test
1 parent d9c7345 commit 8bb713a

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
6.17 KB
Loading
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import pytest
2+
3+
import flet as ft
4+
import flet.testing as ftt
5+
6+
7+
@pytest.mark.asyncio(loop_scope="module")
8+
async def test_expansion_panel_list_basic(flet_app: ftt.FletTestApp, request):
9+
flet_app.page.theme_mode = ft.ThemeMode.LIGHT
10+
await flet_app.assert_control_screenshot(
11+
request.node.name,
12+
ft.ExpansionPanelList(
13+
controls=[ft.ExpansionPanel(ft.Text("Expansion Panel"))],
14+
),
15+
)

0 commit comments

Comments
 (0)