Skip to content

#87058 TC03 — A client is created with gender, discount, card number, Sold and Paid

Expected result: The optional fields of the Add new client form are saved
as entered, Sold takes digits only, and the balance is Paid minus Sold,
a debt in red.

test_client_sidebar_create_optional_fields

Failures in last 30 days: 2

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: - AssertionError — 1 - TimeoutError — 1

Failure signatures (grouped by exception + full message):

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

AssertionError: Gender field of the client card does not show Female
Expected value: 'Female'
Actual value: Not selected
Call log:
  - Expect "to_contain_text" with timeout 30000ms
  - waiting for locator("[data-locator=\"v_sidebar_body\"]").locator("[data-locator=\"client_profile_gender_select\"]").first
    34 × locator resolved to <div class="q-field__native row items-center" data-locator="client_profile_gender_select">…</div>
       - unexpected value "Not selected"

Stacktrace:

suite/yclients/biz/erp/web/client_base/sidebar/test_create_optional_fields_pw.py:145 in test_client_sidebar_create_optional_fields

Seen in: - altegio/biz.erp#243533 — shard 5 — launch 193303 (×1, last 2026-11-20 17:57 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
    - 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_CLIENTS_DB. Browser diagnostics:
{
  "url": "https://erp-master.infra.altegio.cloud/timetable/16606680/#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/16606680/staff/workload?start_date=2026-12-01&end_date=2026-12-31&_=1796140179154",
        "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/16606680/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&_=1796140179156",
        "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/16606680/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%5... [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/client_base/sidebar/test_create_optional_fields_pw.py:84 in test_client_sidebar_create_optional_fields
lib/apps_pw/yclients/biz/erp/web/components/menu.py:267 in click_menu

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