mirror of
https://github.com/Sea-Haven-Industries/meal-order-manager.git
synced 2026-10-07 16:18:54 +00:00
style(tests): apply ruff format to test_generate_form.py
This commit is contained in:
parent
cf8ad2baea
commit
e319e4a0d3
1 changed files with 8 additions and 2 deletions
|
|
@ -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**")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue