style(tests): apply ruff format to test_generate_form.py

This commit is contained in:
Adam Moussa 2026-07-29 20:10:17 -04:00
parent cf8ad2baea
commit e319e4a0d3
No known key found for this signature in database

View file

@ -304,7 +304,10 @@ class TestGenerateFormPlaywright:
card.locator('[data-qty-delta="1"]').get_attribute("aria-label")
== "Add one Chicken Bowl"
)
assert card.locator(".qty").get_attribute("aria-label") == "Quantity of Chicken Bowl"
assert (
card.locator(".qty").get_attribute("aria-label")
== "Quantity of Chicken Bowl"
)
def test_filter_chip_aria_pressed(self, browser_page):
page = browser_page
@ -388,7 +391,10 @@ class TestGenerateFormPlaywright:
"""() => document.getElementById('form-status-alert').textContent
=== 'Simulated submit failure'"""
)
assert page.locator("#form-status-alert").inner_text() == "Simulated submit failure"
assert (
page.locator("#form-status-alert").inner_text()
== "Simulated submit failure"
)
assert page.locator("#form-status-info").inner_text() == ""
page.unroute("**/api/submit-order**")