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:
@@ -161,7 +161,6 @@ def test_searchselect_border_matches_native_input(
|
|||||||
page = authenticated_page
|
page = authenticated_page
|
||||||
page.goto(f"{live_server.url}{reverse('games:add_purchase')}")
|
page.goto(f"{live_server.url}{reverse('games:add_purchase')}")
|
||||||
price = page.locator("#id_price") # always-enabled native input
|
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']")
|
wrapper = page.locator("search-select[name='platform']")
|
||||||
search_input = page.locator("#id_platform")
|
search_input = page.locator("#id_platform")
|
||||||
border = "el => getComputedStyle(el).borderColor"
|
border = "el => getComputedStyle(el).borderColor"
|
||||||
|
|||||||
Reference in New Issue
Block a user