Skip to content

#89650 TC187 — A user without the edit right gets a read-only card and cannot move services

Known limit: without the edit right the row is not draggable — the
press on it and the move onto Category_2 start no drag and send no
request, the way the QA agent recorded it — so nothing proves from
inside this test that a drop was attempted: the check after the reload
would also pass on a pointer that never reached Category_2. The row is
released on the Category_2 header, as the agent did, and the header
takes no drop even with the edit right (the list moves a row only over
a row of an opened category, and Category_2 does not open under a row
that is not dragged), so the check after the reload cannot tell the
rights apart. The reloaded list draws every category collapsed, so
Category_1 is expanded again before its row is checked.

test_services_rights_no_edit_read_only

Failures in last 30 days: 1

Generated at 2026-12-06 05:15 MSK

Last failure: 2026-12-01 19:03 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: - TimeoutError — 1

Failure signatures (grouped by exception + full message):

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

playwright._impl._errors.TimeoutError: Locator.click: Timeout 30000ms exceeded.
Call log:
  - waiting for locator("[class*=\"erp-nav-menu-mode-switch-footer-button\"]:visible, [class*=\"erp-nav-menu-mode-switch-mini__button\"]:visible").first
    - locator resolved to <div data-locator="nav_menu_mode_switch_btn" class="erp-nav-menu-mode-switch-footer-button">…</div>
  - attempting click action
    2 × waiting for element to be visible, enabled and stable
      - element is visible, enabled and stable
      - scrolling into view if needed
      - done scrolling
      - <div class="v-error-modal v-error-modal--unauthorized v-error-modal__fade-enter-active v-error-modal__fade-enter-to">…</div> intercepts pointer events
    - retrying click action
    - waiting 20ms
    - waiting for element to be visible, enabled and stable
    - element is visible, enabled and stable
    - scrolling into view if needed
    - done scrolling
    - <div class="v-error-modal v-error-modal--unauthorized v-error-modal__fade-enter-active v-error-modal__fade-enter-to">…</div> intercepts pointer events
  2 × retrying click action
      - waiting 100ms
      - waiting for element to be visible, enabled and stable
      - element is visible, enabled and stable
      - scrolling into view if needed
      - done scrolling
      - <div class="v-error-modal v-error-modal--unauthorized">…</div> intercepts pointer events
  55 × retrying click action
       - waiting 500ms
       - waiting for element to be visible, enabled and stable
       - element is visible, enabled and stable
       - scrolling into view if needed
       - done scrolling
       - <div class="v-error-modal v-error-modal--unauthorized">…</div> intercepts pointer events
  - retrying click action
    - waiting 500ms
AssertionError: Failed to navigate through menu item MENU_ITEM_SETTINGS. Browser diagnostics:
{
  "url": "https://erp-master.infra.altegio.cloud/timetable/16606632/#mode=1",
  "observer": {
    "installed": true,
    "first_js_error": null,
    "js_errors": [],
    "js_errors_by_location": {},
    "xhr_queue": []
  },
  "page_errors": [],
  "console": [
    {
      "type": "warning",
      "text": "Web Vitals polyfill required",
      "location": {
        "url": "https://erp-master.infra.altegio.cloud/js/vue-vite-app/chunk-d57c7e94acf4.js",
        "lineNumber": 0,
        "columnNumber": 11972
      }
    },
    {
      "type": "error",
      "text": "Failed to load resource: the server responded with a status of 401 ()",
      "location": {
        "url": "https://erp-master.infra.altegio.cloud/api/v1/company/16606632/staff/workload?start_date=2026-12-01&end_date=2026-12-31&_=1796140143616",
        "lineNumber": 0,
        "columnNumber": 0
      }
    },
    {
      "type": "error",
      "text": "Failed to load resource: the server responded with a status of 401 ()",
      "location": {
        "url": "https://erp-master.infra.altegio.cloud/api/v1/company/16606632/timetable/schedule?dates%5B%5D=2026-12-01&include%5B%5D=tt_day_schedule_resource_instances.resource_instance.resource&include%5B%5D=tt_day_schedule_resource_instances.resource_instance&include%5B%5D=tt_day_schedule_resource_instances&include%5B%5D=tt_day_schedule_masters.master&include%5B%5D=tt_day_schedule_masters&include%5B%5D=tt_day_schedule_masters.tt_day_master_grid_status&new_timetable_schedule_from_legacy=1&_=1796140143618",
        "lineNumber": 0,
        "columnNumber": 0
      }
    },
    {
      "type": "error",
      "text": "Failed to load resource: the server responded with a status of 401 ()",
      "location": {
        "url": "https://erp-master.infra.altegio.cloud/api/v1/company/16606632/timetable/attendance_day?dates%5B%5D=2026-12-01&include%5B%5D=records&include%5B%5D=records.services&include%5B%5D=records.labels&include%5B%5D=records.master&include%5B%5D=records.client&include%5B%5D=records.client.first_successful_visit&include%5B%5D=records.comer&include%5B%5D=records.comer.vehicle&include%5B%... [truncated]

Stacktrace:

lib/apps_pw/yclients/biz/erp/web/components/menu.py:265 in click_menu
lib/apps_pw/yclients/biz/erp/web/components/menu.py:279 in _click_menu
lib/apps_pw/yclients/biz/erp/web/pages/user.py:561 in _ensure_administration_mode_for_legacy_menu
suite/yclients/biz/erp/web/settings/services/test_services_rights_no_edit_read_only_pw.py:84 in test_services_rights_no_edit_read_only
lib/apps_pw/yclients/biz/erp/web/components/menu.py:267 in click_menu

Seen in: - altegio/biz.erp#246628 — shard 5 — launch 198321 (×1, last 2026-12-01 19:03 MSK)