Skip to content

#89654 TC191 — A user without the delete right cannot delete a service from the service card

Expected result: The Delete button does not open a confirmation window
and the service stays.

Step 5 is the user's attempt: the Delete button of a user without the
right is disabled, so the click is forced onto it, as the user's mouse
click is. The absent confirmation window is read once the Delete button
is visible in the same panel.

test_services_rights_no_delete_button

Failures in last 30 days: 1

Generated at 2026-12-06 05:15 MSK

Last failure: 2026-11-27 16:12 MSK

Filter: pipelines with sandbox_biz_erp ∈ {master, testops-dev} AND autotests_branch ∈ {master, main} only (testops-dev — daytime ticks since 2026-08-05).

By exception class: - Error — 1

Failure signatures (grouped by exception + full message):

Error — 1 occurrence(s) across 1 pipeline(s)

playwright._impl._errors.Error: Locator.click: Element is outside of the viewport
Call log:
  - waiting for locator("[data-locator=\"delete_service_btn\"]").first
    - locator resolved to <button disabled tabindex="0" type="button" data-locator="delete_service_btn" class="q-btn q-btn-item non-selectable no-outline q-btn--standard q-btn--rectangle q-btn--actionable q-focusable q-hoverable q-btn--no-uppercase yc-btn yc-btn_variant-tertiary yc-btn_small yc-btn_default yc-btn_align-center yc-btn services-settings-salon-controls__btn">…</button>
  - attempting click action
    - scrolling into view if needed
    - done scrolling

Stacktrace:

suite/yclients/biz/erp/web/settings/services/test_services_rights_no_delete_button_pw.py:100 in test_services_rights_no_delete_button
lib/apps_pw/yclients/biz/erp/web/pages/__init__.py:77 in decorated
lib/apps_pw/yclients/biz/erp/web/pages/service/filial/edit.py:265 in click_disabled_delete
lib/apps_pw/yclients/biz/erp/web/pages/service/filial/edit.py:191 in _click_disabled

Seen in: - altegio/biz.erp#245485 — shard 5 — launch 197009 (×1, last 2026-11-27 16:12 MSK)