test(e2e): remove what-comment from searchselect border test

The comment described what the code does (find wrapper by name attr),
not why. The locator is self-explanatory.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-20 19:03:56 +02:00
parent b229f34b8d
commit c25ebec484
-1
View File
@@ -161,7 +161,6 @@ def test_searchselect_border_matches_native_input(
page = authenticated_page
page.goto(f"{live_server.url}{reverse('games:add_purchase')}")
price = page.locator("#id_price") # always-enabled native input
# #id_platform is now on the inner <input>; find the wrapper by name attr.
wrapper = page.locator("search-select[name='platform']")
search_input = page.locator("#id_platform")
border = "el => getComputedStyle(el).borderColor"