@@ -137,7 +137,7 @@ def test_login_redirects_to_devices(driver):
137137
138138def test_login_with_deep_link_preserves_hash (driver ):
139139 """Test: Login with deep link (?next=...) preserves the URL fragment hash
140-
140+
141141 When a user logs in from a deep link URL (e.g., ?next=base64(devices.php%23device-123)),
142142 they should be redirected to the target page with the hash fragment intact.
143143 """
@@ -162,7 +162,7 @@ def test_login_with_deep_link_preserves_hash(driver):
162162 # Check that we're on the right page with the hash preserved
163163 current_url = driver .current_url
164164 print (f"URL after login with deep link: { current_url } " )
165-
165+
166166 if '/devices.php' not in current_url :
167167 pytest .skip (f"Login failed or redirect not configured. URL: { current_url } " )
168168
@@ -172,7 +172,7 @@ def test_login_with_deep_link_preserves_hash(driver):
172172
173173def test_login_with_deep_link_to_network_page (driver ):
174174 """Test: Login with deep link to network.php page preserves hash
175-
175+
176176 User can login with a deep link to the network page (e.g., network.php#settings-panel),
177177 and should be redirected to that page with the hash fragment intact.
178178 """
@@ -197,7 +197,7 @@ def test_login_with_deep_link_to_network_page(driver):
197197 # Check that we're on the right page with the hash preserved
198198 current_url = driver .current_url
199199 print (f"URL after login with network.php deep link: { current_url } " )
200-
200+
201201 if '/network.php' not in current_url :
202202 pytest .skip (f"Login failed or redirect not configured. URL: { current_url } " )
203203
@@ -233,7 +233,7 @@ def test_login_without_next_parameter(driver):
233233
234234def test_url_hash_hidden_input_present (driver ):
235235 """Test: URL fragment hash field is present in login form
236-
236+
237237 The hidden url_hash input field is used to capture and preserve
238238 URL hash fragments during form submission and redirect.
239239 """
0 commit comments