File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed
Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -112,17 +112,14 @@ def test_render(page: Page):
112112 expect (page .locator ('[id="__next"]' )).to_contain_text ("reflex-clerk-api demo" )
113113 expect (page .locator ('[id="__next"]' )).to_contain_text ("Getting Started" )
114114 expect (page .locator ('[id="__next"]' )).to_contain_text ("Demos" )
115- expect (page .locator ('[id="__next"]' )).to_contain_text (
116- "ClerkState variables and methods"
117- )
118- expect (page .locator ('[id="__next"]' )).to_contain_text (
119- "Clerk loaded and signed in/out areas"
120- )
121- expect (page .locator ('[id="__next"]' )).to_contain_text ("Better on_load handling" )
122- expect (page .locator ('[id="__next"]' )).to_contain_text ("On auth change callbacks" )
123- expect (page .locator ('[id="__next"]' )).to_contain_text ("ClerkUser info" )
124- expect (page .locator ('[id="__next"]' )).to_contain_text ("Sign-in and sign-up pages" )
125- expect (page .locator ('[id="__next"]' )).to_contain_text ("User profile management" )
115+
116+ expect (page .get_by_test_id ("clerkstate_variables_and_methods" )).to_be_visible ()
117+ expect (page .get_by_test_id ("clerk_loaded_and_signed_in_out_areas" )).to_be_visible ()
118+ expect (page .get_by_test_id ("better_on_load_handling" )).to_be_visible ()
119+ expect (page .get_by_test_id ("on_auth_change_callbacks" )).to_be_visible ()
120+ expect (page .get_by_test_id ("clerkuser_info" )).to_be_visible ()
121+ expect (page .get_by_test_id ("sign-in_and_sign-up_pages" )).to_be_visible ()
122+ expect (page .get_by_test_id ("user_profile_management" )).to_be_visible ()
126123
127124
128125def test_sign_up (page : Page ):
You can’t perform that action at this time.
0 commit comments