# Instructions

- Following Playwright test failed.
- Explain why, be concise, respect Playwright best practices.
- Provide a snippet of code with the fix, if possible.

# Test info

- Name: src/manager/tests/e2e/booking/booking-create.spec.ts >> rejects a sepa booking over the payment amount limit
- Location: src/manager/tests/e2e/booking/booking-create.spec.ts:954:5

# Error details

```
Error: expect(locator).toBeVisible() failed

Locator: locator('.v-snackbar').filter({ hasText: 'Max billing amount exceeded for payment method type' })
Expected: visible
Timeout: 30000ms
Error: element(s) not found

Call log:
  - Expect "toBeVisible" with timeout 30000ms
  - waiting for locator('.v-snackbar').filter({ hasText: 'Max billing amount exceeded for payment method type' })

```

```yaml
- navigation:
  - link:
    - /url: /
  - text: KINNOVIS Manager
  - button:
    - img
  - list:
    - text: Dashboard
    - link "Tasks":
      - /url: /tasks
      - img
      - text: Tasks
    - link "Facility maps":
      - /url: /facility-map
    - link "Analytics":
      - /url: /dashboard
    - text: Sales
    - link "Bookings":
      - /url: /bookings
    - link "Customers":
      - /url: /customers
    - link "Invoices":
      - /url: /invoices
    - link "Credit notes":
      - /url: /credit-notes
      - img
      - text: Credit notes
    - link "Units":
      - /url: /units
    - text: Site management
    - link "Locations":
      - /url: /locations
    - link "Unit types":
      - /url: /unit-types
    - link "Protection Plans":
      - /url: /insurances
    - link "Deposits":
      - /url: /deposits
    - link "Products":
      - /url: /products
    - link "Discounts":
      - /url: /discounts
    - option "Emails"
    - link "Document templates":
      - /url: /document-templates
    - text: Admin
    - link "Integrations":
      - /url: /connected-apps
    - link "User & Roles":
      - /url: /users
    - option "Booking Portal"
    - option "JaneAI"
    - text: Feedback
    - link "Voting Portal":
      - /url: /voting-portal
  - button "AS Andreas Stadler andreas.stadler@storeroom.at"
  - button
- main:
  - text: Bookings
  - link "Create booking":
    - /url: /bookings/create
  - button
  - button "Filters Reset filters":
    - heading "Filters" [level=3]
    - button "Reset filters"
  - text: Search
  - textbox "Search"
  - combobox:
    - text: Location
    - combobox "Location"
  - combobox:
    - text: Status
    - combobox "Status"
  - combobox:
    - text: ID verification status
    - combobox "ID verification status"
  - combobox:
    - text: Access status
    - combobox "Access status"
  - combobox:
    - text: Unit type
    - combobox "Unit type"
  - text: Created at
  - textbox "Created at"
  - button "Select all"
  - button "Price adjustment" [disabled]:
    - img
    - text: Price adjustment
  - button "Remove price adjustment" [disabled]
  - button:
    - img
  - table:
    - rowgroup:
      - row "Booking number Location Status Customer Unit type Unit Booking plan Next invoice Created at Move-in Move-out":
        - columnheader:
          - checkbox
        - columnheader "Booking number":
          - button "Booking number"
        - columnheader "Location":
          - button "Location"
        - columnheader "Status":
          - button "Status"
        - columnheader "Customer":
          - button "Customer"
        - columnheader "Unit type"
        - columnheader "Unit":
          - button "Unit"
        - columnheader "Booking plan":
          - button "Booking plan"
        - columnheader "Next invoice":
          - button "Next invoice"
        - columnheader "Created at":
          - button "Created at"
        - columnheader "Move-in":
          - button "Move-in"
        - columnheader "Move-out":
          - button "Move-out"
      - row:
        - columnheader
    - rowgroup:
      - row "7217-1843-9939-825 Vienna South Active Clark Rosenbaum Refined Box UhZaDC Unit 1YDBZa Basic (1 week) 26 Aug 2026 19 Aug 2026 19 Aug 2026":
        - cell:
          - checkbox
        - cell "7217-1843-9939-825":
          - link "7217-1843-9939-825":
            - /url: /bookings/721718439939825
        - cell "Vienna South":
          - link "Vienna South":
            - /url: /bookings/721718439939825
        - cell "Active":
          - link "Active":
            - /url: /bookings/721718439939825
        - cell "Clark Rosenbaum":
          - link "Clark Rosenbaum":
            - /url: /bookings/721718439939825
        - cell "Refined Box UhZaDC":
          - link "Refined Box UhZaDC":
            - /url: /bookings/721718439939825
        - cell "Unit 1YDBZa":
          - link "Unit 1YDBZa":
            - /url: /bookings/721718439939825
        - cell "Basic (1 week)":
          - link "Basic (1 week)":
            - /url: /bookings/721718439939825
        - cell "26 Aug 2026":
          - link "26 Aug 2026":
            - /url: /bookings/721718439939825
        - cell "19 Aug 2026":
          - link "19 Aug 2026":
            - /url: /bookings/721718439939825
        - cell "19 Aug 2026":
          - link "19 Aug 2026":
            - /url: /bookings/721718439939825
        - cell:
          - link:
            - /url: /bookings/721718439939825
      - row "5975-7674-2825-25 Vienna South Active Hobart Hermann Small Box BoWOFS Unit bszj5y Basic (1 week) 26 Aug 2026 19 Aug 2026 19 Aug 2026":
        - cell:
          - checkbox
        - cell "5975-7674-2825-25":
          - link "5975-7674-2825-25":
            - /url: /bookings/59757674282525
        - cell "Vienna South":
          - link "Vienna South":
            - /url: /bookings/59757674282525
        - cell "Active":
          - link "Active":
            - /url: /bookings/59757674282525
        - cell "Hobart Hermann":
          - link "Hobart Hermann":
            - /url: /bookings/59757674282525
        - cell "Small Box BoWOFS":
          - link "Small Box BoWOFS":
            - /url: /bookings/59757674282525
        - cell "Unit bszj5y":
          - link "Unit bszj5y":
            - /url: /bookings/59757674282525
        - cell "Basic (1 week)":
          - link "Basic (1 week)":
            - /url: /bookings/59757674282525
        - cell "26 Aug 2026":
          - link "26 Aug 2026":
            - /url: /bookings/59757674282525
        - cell "19 Aug 2026":
          - link "19 Aug 2026":
            - /url: /bookings/59757674282525
        - cell "19 Aug 2026":
          - link "19 Aug 2026":
            - /url: /bookings/59757674282525
        - cell:
          - link:
            - /url: /bookings/59757674282525
      - row "8738-3949-6989-784 Vienna South Active Elaine Borer Licensed Box NSAsBm Unit ZFDktr Basic (1 month) 19 Sep 2026 19 Aug 2026 19 Aug 2026":
        - cell:
          - checkbox
        - cell "8738-3949-6989-784":
          - link "8738-3949-6989-784":
            - /url: /bookings/873839496989784
        - cell "Vienna South":
          - link "Vienna South":
            - /url: /bookings/873839496989784
        - cell "Active":
          - link "Active":
            - /url: /bookings/873839496989784
        - cell "Elaine Borer":
          - link "Elaine Borer":
            - /url: /bookings/873839496989784
        - cell "Licensed Box NSAsBm":
          - link "Licensed Box NSAsBm":
            - /url: /bookings/873839496989784
        - cell "Unit ZFDktr":
          - link "Unit ZFDktr":
            - /url: /bookings/873839496989784
        - cell "Basic (1 month)":
          - link "Basic (1 month)":
            - /url: /bookings/873839496989784
        - cell "19 Sep 2026":
          - link "19 Sep 2026":
            - /url: /bookings/873839496989784
        - cell "19 Aug 2026":
          - link "19 Aug 2026":
            - /url: /bookings/873839496989784
        - cell "19 Aug 2026":
          - link "19 Aug 2026":
            - /url: /bookings/873839496989784
        - cell:
          - link:
            - /url: /bookings/873839496989784
      - row "7217-1843-1943-111 Vienna South Active Alfonso Boyer Handmade Box YaLeY5 Unit Wchc0U Basic (1 week) 26 Aug 2026 19 Aug 2026 19 Aug 2026":
        - cell:
          - checkbox
        - cell "7217-1843-1943-111":
          - link "7217-1843-1943-111":
            - /url: /bookings/721718431943111
        - cell "Vienna South":
          - link "Vienna South":
            - /url: /bookings/721718431943111
        - cell "Active":
          - link "Active":
            - /url: /bookings/721718431943111
        - cell "Alfonso Boyer":
          - link "Alfonso Boyer":
            - /url: /bookings/721718431943111
        - cell "Handmade Box YaLeY5":
          - link "Handmade Box YaLeY5":
            - /url: /bookings/721718431943111
        - cell "Unit Wchc0U":
          - link "Unit Wchc0U":
            - /url: /bookings/721718431943111
        - cell "Basic (1 week)":
          - link "Basic (1 week)":
            - /url: /bookings/721718431943111
        - cell "26 Aug 2026":
          - link "26 Aug 2026":
            - /url: /bookings/721718431943111
        - cell "19 Aug 2026":
          - link "19 Aug 2026":
            - /url: /bookings/721718431943111
        - cell "19 Aug 2026":
          - link "19 Aug 2026":
            - /url: /bookings/721718431943111
        - cell:
          - link:
            - /url: /bookings/721718431943111
      - row "7217-1882-1733-129 Vienna South Active Wanda Nolan Awesome Box iMzzZZ Unit t7dV4V Basic (1 month) 9 Sep 2026 19 Aug 2026 9 Aug 2026":
        - cell:
          - checkbox
        - cell "7217-1882-1733-129":
          - link "7217-1882-1733-129":
            - /url: /bookings/721718821733129
        - cell "Vienna South":
          - link "Vienna South":
            - /url: /bookings/721718821733129
        - cell "Active":
          - link "Active":
            - /url: /bookings/721718821733129
        - cell "Wanda Nolan":
          - link "Wanda Nolan":
            - /url: /bookings/721718821733129
        - cell "Awesome Box iMzzZZ":
          - link "Awesome Box iMzzZZ":
            - /url: /bookings/721718821733129
        - cell "Unit t7dV4V":
          - link "Unit t7dV4V":
            - /url: /bookings/721718821733129
        - cell "Basic (1 month)":
          - link "Basic (1 month)":
            - /url: /bookings/721718821733129
        - cell "9 Sep 2026":
          - link "9 Sep 2026":
            - /url: /bookings/721718821733129
        - cell "19 Aug 2026":
          - link "19 Aug 2026":
            - /url: /bookings/721718821733129
        - cell "9 Aug 2026":
          - link "9 Aug 2026":
            - /url: /bookings/721718821733129
        - cell:
          - link:
            - /url: /bookings/721718821733129
      - row "1451-5357-2945-998 Vienna South Active Alf Kohler Licensed Box BatGWg Unit QaftmT Basic (1 month) 19 Sep 2026 19 Aug 2026 19 Aug 2026":
        - cell:
          - checkbox
        - cell "1451-5357-2945-998":
          - link "1451-5357-2945-998":
            - /url: /bookings/145153572945998
        - cell "Vienna South":
          - link "Vienna South":
            - /url: /bookings/145153572945998
        - cell "Active":
          - link "Active":
            - /url: /bookings/145153572945998
        - cell "Alf Kohler":
          - link "Alf Kohler":
            - /url: /bookings/145153572945998
        - cell "Licensed Box BatGWg":
          - link "Licensed Box BatGWg":
            - /url: /bookings/145153572945998
        - cell "Unit QaftmT":
          - link "Unit QaftmT":
            - /url: /bookings/145153572945998
        - cell "Basic (1 month)":
          - link "Basic (1 month)":
            - /url: /bookings/145153572945998
        - cell "19 Sep 2026":
          - link "19 Sep 2026":
            - /url: /bookings/145153572945998
        - cell "19 Aug 2026":
          - link "19 Aug 2026":
            - /url: /bookings/145153572945998
        - cell "19 Aug 2026":
          - link "19 Aug 2026":
            - /url: /bookings/145153572945998
        - cell:
          - link:
            - /url: /bookings/145153572945998
      - row "9829-2584-9713-864 Vienna South Active Nella Dibbert Fresh Box BjCevg Unit shXXJk Basic (1 month) 19 Sep 2026 19 Aug 2026 19 Aug 2026":
        - cell:
          - checkbox
        - cell "9829-2584-9713-864":
          - link "9829-2584-9713-864":
            - /url: /bookings/982925849713864
        - cell "Vienna South":
          - link "Vienna South":
            - /url: /bookings/982925849713864
        - cell "Active":
          - link "Active":
            - /url: /bookings/982925849713864
        - cell "Nella Dibbert":
          - link "Nella Dibbert":
            - /url: /bookings/982925849713864
        - cell "Fresh Box BjCevg":
          - link "Fresh Box BjCevg":
            - /url: /bookings/982925849713864
        - cell "Unit shXXJk":
          - link "Unit shXXJk":
            - /url: /bookings/982925849713864
        - cell "Basic (1 month)":
          - link "Basic (1 month)":
            - /url: /bookings/982925849713864
        - cell "19 Sep 2026":
          - link "19 Sep 2026":
            - /url: /bookings/982925849713864
        - cell "19 Aug 2026":
          - link "19 Aug 2026":
            - /url: /bookings/982925849713864
        - cell "19 Aug 2026":
          - link "19 Aug 2026":
            - /url: /bookings/982925849713864
        - cell:
          - link:
            - /url: /bookings/982925849713864
      - row "5975-7684-5856-972 Vienna South Active Neil Wyman Intelligent Box Epgry0 Unit tBOXDp Basic (1 week) 26 Aug 2026 19 Aug 2026 19 Aug 2026":
        - cell:
          - checkbox
        - cell "5975-7684-5856-972":
          - link "5975-7684-5856-972":
            - /url: /bookings/597576845856972
        - cell "Vienna South":
          - link "Vienna South":
            - /url: /bookings/597576845856972
        - cell "Active":
          - link "Active":
            - /url: /bookings/597576845856972
        - cell "Neil Wyman":
          - link "Neil Wyman":
            - /url: /bookings/597576845856972
        - cell "Intelligent Box Epgry0":
          - link "Intelligent Box Epgry0":
            - /url: /bookings/597576845856972
        - cell "Unit tBOXDp":
          - link "Unit tBOXDp":
            - /url: /bookings/597576845856972
        - cell "Basic (1 week)":
          - link "Basic (1 week)":
            - /url: /bookings/597576845856972
        - cell "26 Aug 2026":
          - link "26 Aug 2026":
            - /url: /bookings/597576845856972
        - cell "19 Aug 2026":
          - link "19 Aug 2026":
            - /url: /bookings/597576845856972
        - cell "19 Aug 2026":
          - link "19 Aug 2026":
            - /url: /bookings/597576845856972
        - cell:
          - link:
            - /url: /bookings/597576845856972
      - row "1451-5351-5742-295 Vienna South Active Neil Wyman Ergonomic Box VMni6b Unit 8gLNEx Basic (1 week) 26 Aug 2026 19 Aug 2026 19 Aug 2026":
        - cell:
          - checkbox
        - cell "1451-5351-5742-295":
          - link "1451-5351-5742-295":
            - /url: /bookings/145153515742295
        - cell "Vienna South":
          - link "Vienna South":
            - /url: /bookings/145153515742295
        - cell "Active":
          - link "Active":
            - /url: /bookings/145153515742295
        - cell "Neil Wyman":
          - link "Neil Wyman":
            - /url: /bookings/145153515742295
        - cell "Ergonomic Box VMni6b":
          - link "Ergonomic Box VMni6b":
            - /url: /bookings/145153515742295
        - cell "Unit 8gLNEx":
          - link "Unit 8gLNEx":
            - /url: /bookings/145153515742295
        - cell "Basic (1 week)":
          - link "Basic (1 week)":
            - /url: /bookings/145153515742295
        - cell "26 Aug 2026":
          - link "26 Aug 2026":
            - /url: /bookings/145153515742295
        - cell "19 Aug 2026":
          - link "19 Aug 2026":
            - /url: /bookings/145153515742295
        - cell "19 Aug 2026":
          - link "19 Aug 2026":
            - /url: /bookings/145153515742295
        - cell:
          - link:
            - /url: /bookings/145153515742295
      - row "7217-1827-5743-917 Vienna South Active Edmund Ryan Refined Box 1xqO4w Unit e8oeFN Basic (1 week) 26 Aug 2026 19 Aug 2026 19 Aug 2026":
        - cell:
          - checkbox
        - cell "7217-1827-5743-917":
          - link "7217-1827-5743-917":
            - /url: /bookings/721718275743917
        - cell "Vienna South":
          - link "Vienna South":
            - /url: /bookings/721718275743917
        - cell "Active":
          - link "Active":
            - /url: /bookings/721718275743917
        - cell "Edmund Ryan":
          - link "Edmund Ryan":
            - /url: /bookings/721718275743917
        - cell "Refined Box 1xqO4w":
          - link "Refined Box 1xqO4w":
            - /url: /bookings/721718275743917
        - cell "Unit e8oeFN":
          - link "Unit e8oeFN":
            - /url: /bookings/721718275743917
        - cell "Basic (1 week)":
          - link "Basic (1 week)":
            - /url: /bookings/721718275743917
        - cell "26 Aug 2026":
          - link "26 Aug 2026":
            - /url: /bookings/721718275743917
        - cell "19 Aug 2026":
          - link "19 Aug 2026":
            - /url: /bookings/721718275743917
        - cell "19 Aug 2026":
          - link "19 Aug 2026":
            - /url: /bookings/721718275743917
        - cell:
          - link:
            - /url: /bookings/721718275743917
  - text: "Items per page:"
  - combobox:
    - text: "10"
    - combobox "Items per page:": "10"
  - text: 1-10 of 124
  - button [disabled]
  - button [disabled]
  - button
  - button
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- dialog:
  - button
  - heading "Create booking" [level=2]
  - button "Save"
  - separator
  - group "General":
    - heading "General" [level=3]
    - combobox:
      - text: Brain Herman (carol.kunze42@gmail.com)
      - combobox "Customer *"
      - text: Customer *
    - alert
    - combobox:
      - text: Vienna South
      - combobox "Location *"
      - text: Location *
    - alert
    - textbox "Move-in date *":
      - /placeholder: dd/mm/yyyy
      - text: 19/08/2026
    - text: Move-in date *
    - alert
    - text: Note
    - textbox "Note"
    - alert
  - group "Products":
    - heading "Products" [level=3]
    - table:
      - rowgroup:
        - row "Recurring Booking Period Quantity Price VAT Amount":
          - columnheader "Recurring"
          - columnheader "Booking Period"
          - columnheader "Quantity"
          - columnheader "Price"
          - columnheader "VAT"
          - columnheader "Amount"
      - rowgroup:
        - row "€11,000.00 17% €11,000.00":
          - cell:
            - combobox:
              - text: Refined Box Lvs7Sk
              - combobox "Unit type *"
              - text: Unit type *
            - alert
            - combobox:
              - text: Unit aWqPxm
              - combobox "Unit *"
              - text: Unit *
            - alert
          - cell:
            - combobox:
              - text: Basic (1 month)
              - combobox "Booking plan *"
              - text: Booking plan *
            - alert
          - cell
          - cell "€11,000.00"
          - cell "17%"
          - cell "€11,000.00"
    - table:
      - rowgroup:
        - row:
          - cell:
            - combobox:
              - text: Protection plan
              - combobox "Protection plan"
            - alert
          - cell
          - cell
          - cell
          - cell
          - cell
    - table
    - button "Add recurring product" [disabled]
    - table:
      - rowgroup:
        - row "One time Quantity Price VAT Amount":
          - columnheader "One time"
          - columnheader
          - columnheader "Quantity"
          - columnheader "Price"
          - columnheader "VAT"
          - columnheader "Amount"
    - button "Add one-time product"
    - table:
      - rowgroup:
        - row "Deposit Quantity Price VAT Amount":
          - columnheader "Deposit"
          - columnheader
          - columnheader "Quantity"
          - columnheader "Price"
          - columnheader "VAT"
          - columnheader "Amount"
      - rowgroup:
        - row:
          - cell:
            - combobox:
              - text: Deposit
              - combobox "Deposit"
            - alert
          - cell
          - cell
          - cell
          - cell
          - cell
    - table:
      - rowgroup:
        - row "Discount Terms Price Amount":
          - columnheader "Discount"
          - columnheader "Terms"
          - columnheader
          - columnheader "Price"
          - columnheader
          - columnheader "Amount"
    - button "Add discount" [disabled]
    - text: Total excl.VAT €11,000.00 VAT €1,870.00 Total incl.VAT €12,870.00
  - group "Payment":
    - heading "Payment" [level=3]
    - radio "Customer will be charged automatically (after 1st invoice) CARD ONLY"
    - text: Customer will be charged automatically (after 1st invoice) CARD ONLY
    - radio "Automatically charge with existing payment method" [checked]
    - text: Automatically charge with existing payment method
    - button "SEPA via Stripe IBAN •••• 3201":
      - img "SEPA via Stripe"
      - text: IBAN •••• 3201
      - button
    - alert
    - button "Add payment method"
    - radio "Customer pays each invoice manually via payment-link"
    - text: Customer pays each invoice manually via payment-link
    - alert
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
- tooltip
```

# Test source

```ts
  892  |   // Reloads, so run last: the deposit field links its amount to the upfront deposit invoice.
  893  |   await test.step('verify deposit on details page', () => verifyBookingDepositInvoiceLink(detailsPage, depositAmount));
  894  | });
  895  | 
  896  | test.fixme('issues only a deposit invoice for a scheduled upfront-deposit booking', async ({
  897  |   createCustomer,
  898  |   createUnitType,
  899  |   createUnit,
  900  |   createDeposit,
  901  |   bookingCreateDialog,
  902  |   trackBookingForTeardown,
  903  | }) => {
  904  |   const customer = await createCustomer(getCustomerCreateData());
  905  |   const deposit = await createDeposit(getDepositCreateData());
  906  |   const unitType = await createUnitType(getUnitTypeCreateData({ deposit }));
  907  |   const unit = await createUnit(getUnitCreateData(unitType));
  908  |   const data = getBookingCreateData(
  909  |     { customer, unitType, unit, deposit },
  910  |     { chargeDepositUpfront: true, moveInDaysInTheFuture: 10 }
  911  |   );
  912  |   const depositAmount = formatCurrency(deposit.priceExclVat, data.location.currency);
  913  |   const today = formatDate(new Date(), data.location.timezone);
  914  | 
  915  |   await bookingCreateDialog.goto();
  916  | 
  917  |   const detailsPage = await test.step('create booking', () => bookingCreateDialog.create(data));
  918  | 
  919  |   trackBookingForTeardown(detailsPage.getBookingId());
  920  | 
  921  |   await test.step('verify booking invoices', async () => {
  922  |     // scheduled, so no first-period invoice yet — only the upfront deposit invoice
  923  |     await verifyBookingInvoiceCount(detailsPage, 1);
  924  | 
  925  |     // the upfront-deposit invoice is not tied to a unit, so its unit cell is left empty
  926  |     await verifyBookingInvoice(
  927  |       detailsPage,
  928  |       {
  929  |         status: 'Open',
  930  |         paymentOption: 'Manual',
  931  |         amount: depositAmount,
  932  |         amountDue: depositAmount,
  933  |         issueDate: today,
  934  |         dueDate: formatDate(getFutureDate(data.location.invoiceDaysUntilDue, 'day'), data.location.timezone),
  935  |       },
  936  |       'Deposit'
  937  |     );
  938  |   });
  939  | 
  940  |   await test.step('verify booking payments', async () => {
  941  |     await verifyBookingPaymentCount(detailsPage, 1);
  942  | 
  943  |     await verifyBookingPayment(
  944  |       detailsPage,
  945  |       { amount: depositAmount, status: 'Not paid yet', date: today },
  946  |       await getBookingDepositInvoiceNumber(detailsPage.invoicesCard.dataTable)
  947  |     );
  948  |   });
  949  | 
  950  |   // Reloads, so run last: the deposit field links its amount to the upfront deposit invoice.
  951  |   await test.step('verify deposit on details page', () => verifyBookingDepositInvoiceLink(detailsPage, depositAmount));
  952  | });
  953  | 
  954  | test('rejects a sepa booking over the payment amount limit', async ({
  955  |   createCustomer,
  956  |   createUnitType,
  957  |   createUnit,
  958  |   bookingCreateDialog,
  959  | }) => {
  960  |   const customer = await createCustomer(getCustomerCreateData());
  961  |   const unitType = await createUnitType(
  962  |     getUnitTypeCreateData({
  963  |       bookingPlans: [
  964  |         {
  965  |           period: 'monthly',
  966  |           amount: 1,
  967  |           priceExclVat: 11000,
  968  |           discount: undefined,
  969  |           publish: true,
  970  |           name: 'Basic',
  971  |           shortDescription: { EN: 'Basic description' },
  972  |         },
  973  |       ],
  974  |     })
  975  |   );
  976  |   const unit = await createUnit(getUnitCreateData(unitType));
  977  |   // a sepa subscription over the SEPA per-transaction limit is rejected on submit with an error snackbar
  978  |   // (no booking is created, so nothing to tear down).
  979  |   const data = getBookingCreateData(
  980  |     { customer, unitType, unit },
  981  |     { paymentOption: 'charge_automatically', paymentMethod: getDefaultSepaPayment() }
  982  |   );
  983  | 
  984  |   await bookingCreateDialog.goto();
  985  | 
  986  |   await test.step('submit booking', async () => {
  987  |     await bookingCreateDialog.fill(data);
  988  |     await bookingCreateDialog.submit();
  989  |   });
  990  | 
  991  |   await test.step('verify the payment limit error', async () => {
> 992  |     await expect(bookingCreateDialog.paymentLimitSnackbar).toBeVisible();
       |                                                            ^ Error: expect(locator).toBeVisible() failed
  993  |   });
  994  | });
  995  | 
  996  | test('rejects a booking without all required fields', async ({ bookingCreateDialog }) => {
  997  |   await bookingCreateDialog.goto();
  998  | 
  999  |   await test.step('submit invalid booking create form', () => bookingCreateDialog.submit());
  1000 | 
  1001 |   await test.step('verify errors on form', async () => {
  1002 |     await expect(bookingCreateDialog.errors).toHaveCountGreaterThan(0);
  1003 |   });
  1004 | });
  1005 | 
```