File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ def django_js():
149
149
150
150
@reactpy_django .decorators .user_passes_test (
151
151
lambda user : user .is_anonymous ,
152
- fallback = html .div ({"id" : "authorized-user-test- fallback" }, "authorized_user: Fail" ),
152
+ fallback = html .div ({"id" : "authorized-user-fallback" }, "authorized_user: Fail" ),
153
153
)
154
154
@component
155
155
def authorized_user ():
@@ -159,7 +159,7 @@ def authorized_user():
159
159
@reactpy_django .decorators .user_passes_test (
160
160
lambda user : user .is_active ,
161
161
fallback = html .div (
162
- {"id" : "unauthorized-user-test- fallback" }, "unauthorized_user: Success"
162
+ {"id" : "unauthorized-user-fallback" }, "unauthorized_user: Success"
163
163
),
164
164
)
165
165
@component
Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ def setUpClass(cls):
67
67
headless = strtobool (os .environ .get ("PLAYWRIGHT_HEADLESS" , GITHUB_ACTIONS ))
68
68
cls .browser = cls .playwright .chromium .launch (headless = bool (headless ))
69
69
cls .page = cls .browser .new_page ()
70
+ cls .page .set_default_timeout (5000 )
70
71
71
72
@classmethod
72
73
def tearDownClass (cls ):
@@ -256,17 +257,17 @@ def test_view_to_iframe_async_func(self):
256
257
257
258
def test_view_to_iframe_sync_class (self ):
258
259
self .page .frame_locator ("#view_to_iframe_sync_class > iframe" ).locator (
259
- "#ViewToComponentSyncClass [data-success=true]"
260
+ "#ViewToIframeSyncClass [data-success=true]"
260
261
).wait_for ()
261
262
262
263
def test_view_to_iframe_async_class (self ):
263
264
self .page .frame_locator ("#view_to_iframe_async_class > iframe" ).locator (
264
- "#ViewToComponentAsyncClass [data-success=true]"
265
+ "#ViewToIframeAsyncClass [data-success=true]"
265
266
).wait_for ()
266
267
267
268
def test_view_to_iframe_template_view_class (self ):
268
269
self .page .frame_locator ("#view_to_iframe_template_view_class > iframe" ).locator (
269
- "#ViewToComponentTemplateViewClass [data-success=true]"
270
+ "#ViewToIframeTemplateViewClass [data-success=true]"
270
271
).wait_for ()
271
272
272
273
def test_view_to_iframe_args (self ):
You can’t perform that action at this time.
0 commit comments