File tree Expand file tree Collapse file tree 5 files changed +122
-232
lines changed
clerk_api_demo/clerk_api_demo
custom_components/reflex_clerk_api Expand file tree Collapse file tree 5 files changed +122
-232
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ def demo_page_header_and_description() -> rx.Component:
124124 rx .code ("async/await" ),
125125 " for all requests to the Clerk backend" ,
126126 ),
127- rx .list_item ("supports reflex 0.7 .x" ),
127+ rx .list_item ("supports reflex 0.8 .x" ),
128128 rx .list_item (
129129 "adds a helper for handling " ,
130130 rx .code ("on_load" ),
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ def add_sign_in_page(
2929 ),
3030 publishable_key = publishable_key ,
3131 )
32- app .add_page (sign_in_page , route = route + "/[[...signin ]]" )
32+ app .add_page (sign_in_page , route = route + "/[[...splat ]]" )
3333
3434
3535def add_sign_up_page (
@@ -52,4 +52,4 @@ def add_sign_up_page(
5252 ),
5353 publishable_key = publishable_key ,
5454 )
55- app .add_page (sign_up_page , route = route + "/[[...signup ]]" )
55+ app .add_page (sign_up_page , route = route + "/[[...splat ]]" )
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ dynamic = ["version"]
2727dependencies = [
2828 " authlib>=1.5.1,<2.0.0" ,
2929 " clerk-backend-api>=2.0.0,<3.0.0" ,
30- " reflex>=0.7.5 " ,
30+ " reflex>=0.8.0 " ,
3131]
3232
3333classifiers = [
@@ -70,6 +70,8 @@ dev = [
7070 " pytest-pretty>=1.2.0" ,
7171 " ruff>=0.9.10" ,
7272 " semver>=3.0.4" ,
73- " reflex==0.7.5 " , # https://github.com/reflex-dev/reflex/issues/5114 -- Pinned until this is fixed
73+ " reflex>=0.8.0 " ,
7474 " hatchling>=1.27.0" ,
75+ " uvicorn>=0.38.0" ,
76+ " psutil>=7.0.0" ,
7577]
Original file line number Diff line number Diff line change @@ -121,9 +121,12 @@ def test_render(page: Page):
121121 I.e. Check components are visible.
122122 """
123123 page .pause ()
124- expect (page .locator ('[id="__next"]' )).to_contain_text ("reflex-clerk-api demo" )
125- expect (page .locator ('[id="__next"]' )).to_contain_text ("Getting Started" )
126- expect (page .locator ('[id="__next"]' )).to_contain_text ("Demos" )
124+ expect (page .get_by_role ("heading" , name = "reflex-clerk-api demo" )).to_contain_text (
125+ "reflex-clerk-api demo"
126+ )
127+ expect (page .get_by_role ("heading" , name = "Getting Started" )).to_contain_text (
128+ "Getting Started"
129+ )
127130
128131 expect (page .get_by_test_id ("clerkstate_variables_and_methods" )).to_be_visible ()
129132 expect (page .get_by_test_id ("clerk_loaded_and_signed_in_out_areas" )).to_be_visible ()
You can’t perform that action at this time.
0 commit comments