reflex/integration
Masen Furer f6a7eed359
Fix AppHarness tests (#1987)
* test_client_storage: remove race conditions for cookie assignment

Poll for default timeout for cookies to appear in the controlled browser.

* Remove use of deprecated get_token and get_sid in core

Both reflex.app and reflex.state were still using deprecated methods, which
were throwing unsolvable warnings for end users.

* Remove deprecated router functions from integration tests

Mostly removing custom "token" var and replacing with
router.session.client_token.

Also replacing `get_query_params` and `get_current_page` usage as well.

* fix upload tests

Cannot pass substate as main app state, since it blocks us from accessing
"inherited vars"

* state: do NOT reset `router` to default

When calling `.reset` to reset state vars, do NOT reset the router data, as
that could mess up internal event processing.
2023-10-18 01:46:13 +02:00
..
init-test Disable metrics in CI (#1822) 2023-09-15 18:15:25 -07:00
__init__.py Client-side storage / State integration (#1629) 2023-08-30 12:43:29 -07:00
conftest.py Client-side Routing (404 redirect) (#1695) 2023-09-05 16:22:00 -07:00
test_background_task.py Fix AppHarness tests (#1987) 2023-10-18 01:46:13 +02:00
test_client_storage.py Fix AppHarness tests (#1987) 2023-10-18 01:46:13 +02:00
test_connection_banner.py App: only render default overlay_component when DefaultState is not used (#1744) 2023-09-05 16:22:25 -07:00
test_dynamic_routes.py Fix AppHarness tests (#1987) 2023-10-18 01:46:13 +02:00
test_event_chain.py Fix AppHarness tests (#1987) 2023-10-18 01:46:13 +02:00
test_form_submit.py Fix AppHarness tests (#1987) 2023-10-18 01:46:13 +02:00
test_input.py Fix AppHarness tests (#1987) 2023-10-18 01:46:13 +02:00
test_login_flow.py convert initialEvents to a function (#1982) 2023-10-17 10:39:56 -07:00
test_radix_themes.py Fix AppHarness tests (#1987) 2023-10-18 01:46:13 +02:00
test_server_side_event.py Fix AppHarness tests (#1987) 2023-10-18 01:46:13 +02:00
test_table.py Fix AppHarness tests (#1987) 2023-10-18 01:46:13 +02:00
test_upload.py Fix AppHarness tests (#1987) 2023-10-18 01:46:13 +02:00
test_var_operations.py Fix AppHarness tests (#1987) 2023-10-18 01:46:13 +02:00
utils.py Client-side storage / State integration (#1629) 2023-08-30 12:43:29 -07:00