@@ -25,10 +25,13 @@ async def test_auth_sandbox_registered_in_debug_vite_mode(
2525 response = await debug_client .get ("/__dev/auth-sandbox" )
2626
2727 assert response .status_code == 200
28- assert "Auth Sandbox " in response .text
29- assert ' window.__PAPYRUS_DEV_PAGE_CONFIG__ =' in response .text
28+ assert "Authentication sandbox " in response .text
29+ assert " window.__PAPYRUS_DEV_PAGE_CONFIG__ =" in response .text
3030 assert 'data-dev-page="auth-sandbox"' in response .text
3131 assert 'data-shell-marker="sticky-status-rail"' in response .text
32+ assert 'href="/__dev/auth-sandbox"' in response .text
33+ assert 'href="/__dev/powersync-sandbox"' in response .text
34+ assert "dev-page-nav__link--active" in response .text
3235 assert 'src="http://vite.test:5173/@vite/client"' in response .text
3336 assert 'src="http://vite.test:5173/src/pages/auth-sandbox/main.ts"' in response .text
3437 assert '"registerUrl": "/v1/auth/register"' in response .text
@@ -44,16 +47,14 @@ async def test_auth_sandbox_renders_built_assets_when_manifest_exists(
4447 """Test the auth sandbox uses built assets when Vite mode is disabled."""
4548 manifest_path = tmp_path / "manifest.json"
4649 manifest_path .write_text (
47- json .dumps (
48- {
49- "src/pages/auth-sandbox/main.ts" : {
50- "file" : "assets/auth-sandbox.js" ,
51- "css" : ["assets/auth-sandbox.css" ],
52- "imports" : [],
53- "src" : "src/pages/auth-sandbox/main.ts" ,
54- }
50+ json .dumps ({
51+ "src/pages/auth-sandbox/main.ts" : {
52+ "file" : "assets/auth-sandbox.js" ,
53+ "css" : ["assets/auth-sandbox.css" ],
54+ "imports" : [],
55+ "src" : "src/pages/auth-sandbox/main.ts" ,
5556 }
56- ),
57+ } ),
5758 encoding = "utf-8" ,
5859 )
5960
0 commit comments