()
| 137 | |
| 138 | |
| 139 | async def test_simple_display_fixture(): |
| 140 | if os.name == "nt": |
| 141 | pytest.skip("Browser tests not supported on Windows") |
| 142 | async with testing.DisplayFixture() as display: |
| 143 | await display.show(SampleApp) |
| 144 | await display.page.wait_for_selector("#sample") |
| 145 | |
| 146 | |
| 147 | def test_if_app_is_given_implementation_must_be_too(): |