File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed
tests/integration/tests_playwright Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change 1+ import os
12from collections .abc import Generator
23
34import pytest
@@ -27,12 +28,16 @@ def index():
2728
2829@pytest .fixture
2930def link_app (tmp_path_factory ) -> Generator [AppHarness , None , None ]:
30- with AppHarness .create (
31- root = tmp_path_factory .mktemp ("link_app" ),
32- app_source = LinkApp ,
33- ) as harness :
34- assert harness .app_instance is not None , "app is not running"
35- yield harness
31+ os .environ ["REFLEX_SHOW_BUILT_WITH_REFLEX" ] = "false"
32+ try :
33+ with AppHarness .create (
34+ root = tmp_path_factory .mktemp ("link_app" ),
35+ app_source = LinkApp ,
36+ ) as harness :
37+ assert harness .app_instance is not None , "app is not running"
38+ yield harness
39+ finally :
40+ os .environ .pop ("REFLEX_SHOW_BUILT_WITH_REFLEX" , None )
3641
3742
3843def test_link_hover (link_app : AppHarness , page : Page ):
You can’t perform that action at this time.
0 commit comments