Skip to content

#75303 TC12 — Add-client sidebar rejects a 12-digit legal-entity BIN as the client IIN

Expected result: A 12-digit BIN whose 5th digit marks a legal entity
is rejected with the `Invalid IIN format` error even though its
check digit is correct; a valid individual IIN saves.

test_client_iin_add_sidebar_legal_entity_bin_rejected

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("#side-menu li.nav-menu-category:has(ul.nav-second-level a[href^=\"/clients/\"])").first.locator("> a").first
    - locator resolved to <a href="#" data-locator="menu_clients">…</a>
  - 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
  57 × 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_CLIENTS_DB. Browser diagnostics:
{
  "url": "https://erp-master.infra.altegio.cloud/analytics/16606365/?start_date=02.11.2026&end_date=01.12.2026&user_id=0&position_id=0&master_id=0",
  "observer": {
    "installed": true,
    "first_js_error": null,
    "js_errors": [],
    "js_errors_by_location": {},
    "xhr_queue": []
  },
  "page_errors": [],
  "console": [
    {
      "type": "error",
      "text": "[AnalyticsDataStore] Error fetching stats incomeServices: TypeError: Cannot destructure property 'symbol' of 'undefined' as it is undefined.\n    at an (https://erp-master.infra.altegio.cloud/js/vue-vite-app/chunk-996c8d3ec7762.js:2:17310)\n    at W (https://erp-master.infra.altegio.cloud/js/vue-vite-app/chunk-996c8d3ec7762.js:2:15849)\n    at async Proxy.fetchStatOnDemand (https://erp-master.infra.altegio.cloud/js/vue-vite-app/chunk-996c8d3ec7762.js:2:19452)",
      "location": {
        "url": "https://erp-master.infra.altegio.cloud/js/vue-vite-app/chunk-996c8d3ec7762.js",
        "lineNumber": 1,
        "columnNumber": 19531
      }
    },
    {
      "type": "error",
      "text": "[AnalyticsDataStore] Error fetching stats incomeAverage: TypeError: Cannot destructure property 'symbol' of 'undefined' as it is undefined.\n    at an (https://erp-master.infra.altegio.cloud/js/vue-vite-app/chunk-996c8d3ec7762.js:2:17310)\n    at W (https://erp-master.infra.altegio.cloud/js/vue-vite-app/chunk-996c8d3ec7762.js:2:15849)\n    at async Proxy.fetchStatOnDemand (https://erp-master.infra.altegio.cloud/js/vue-vite-app/chunk-996c8d3ec7762.js:2:19452)",
      "location": {
        "url": "https://erp-master.infra.altegio.cloud/js/vue-vite-app/chunk-996c8d3ec7762.js",
        "lineNumber": 1,
        "columnNumber": 19531
      }
    },
    {
      "type": "error",
      "text": "[AnalyticsDataStore] Error fetching stats incomeAverageGoods: TypeError: Cannot destructure property 'symbol' of 'undefined' as it is undefined.\n    at an (https://erp-master.infra.altegio.cloud/js/vue-vite-app/chunk-996c8d3ec7762.js:2:17310)\n    at W (https://erp-master.infra.altegio.cloud/js/vue-vite-app/chunk-996c8d3ec7762.js:2:15849)\n    at async Proxy.fetchStatOnDemand (https://erp-master.infra.altegio.cloud/js/vue-vit... [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:307 in _click_menu
suite/yclients/biz/erp/web/client_base/sidebar/test_iin_legal_entity_bin_rejected_pw.py:96 in test_client_iin_add_sidebar_legal_entity_bin_rejected
lib/apps_pw/yclients/biz/erp/web/components/menu.py:267 in click_menu

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