Skip to content

#94555 TC03 — Add a service and preserve the increased counter when saving its category

test_services_category_create_counter

Failures in last 30 days: 3

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).

🏥 2 of these ran under the quarantine tier: XFAIL, pipeline stayed green, excluded from the red statistics and incidents (see Карантин).

By exception class: - AssertionError — 2 - TimeoutError — 1

Failure signatures (grouped by exception + full message):

🏥 AssertionError — 1 occurrence(s) across 1 pipeline(s)

AssertionError: 'Contains services' counter of the 'Category_1' row on the 'Service categories' page does not show the number of its services on opening the page
Expected value: 'Contains services: 1'
Actual value: None
Error: element(s) not found
Call log:
  - Expect "to_have_text" with timeout 30000ms
  - waiting for locator("[data-locator=\"services_category_count_28346717\"]").first

Stacktrace:

suite/yclients/biz/erp/web/settings/services/test_services_category_create_counter_pw.py:88 in test_services_category_create_counter
suite/yclients/biz/erp/web/settings/services/test_services_category_create_counter_pw.py:65 in expect_counter

Seen in: - altegio/biz.erp#243627 — shard 8 — launch 193430 (×1, last 2026-11-21 03:53 MSK)

🏥 AssertionError — 1 occurrence(s) across 1 pipeline(s)

AssertionError: 'Contains services' counter of the 'Category_1' row on the 'Service categories' page does not show the number of its services on opening the page
Expected value: 'Contains services: 1'
Actual value: None
Error: element(s) not found
Call log:
  - Expect "to_have_text" with timeout 30000ms
  - waiting for locator("[data-locator=\"services_category_count_28348742\"]").first

Stacktrace:

suite/yclients/biz/erp/web/settings/services/test_services_category_create_counter_pw.py:88 in test_services_category_create_counter
suite/yclients/biz/erp/web/settings/services/test_services_category_create_counter_pw.py:65 in expect_counter

Seen in: - altegio/biz.erp#243822 — shard 5 — launch 193537 (×1, last 2026-11-22 03:47 MSK)

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
    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 100ms
    56 × 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/16606332/#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/16606332/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&_=1796139887458",
        "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/16606332/staff/workload?start_date=2026-12-01&end_date=2026-12-31&_=1796139887456",
        "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/16606332/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%5D=records.resource_instances.resource&include%5B%5D=records.resource_instances&include%5B%5D=records.acceptance_free&include%5B%5D=records.attendance_service_items.attendance_service_composite.composite_service&include%5B%5D=records.duration_details&include%5B%5D=activities&include%5B%5D=activities.se... [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_category_create_counter_pw.py:81 in test_services_category_create_counter
lib/apps_pw/yclients/biz/erp/web/components/menu.py:267 in click_menu

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