Skip to content

#86452 TC18 — Loyalty card numbers of letters, digits and a space are issued, a taken number is rejected

Expected result: Cards with numbers of letters, digits and a space are
issued, and a number already registered in the chain is rejected.

test_client_sidebar_loyalty_card_issue_unique_number

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 - SigninRedirectMissingError — 1

Failure signatures (grouped by exception + full message):

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

AssertionError: На страницах во время теста обнаружены ошибки в ответах сервера:
------------------------------------------------------------
Страница: https://erp-master.infra.altegio.cloud/clients/16505332/base/?fields%5B0%5D=name&fields%5B1%5D=phone&fields%5B2%5D=email&fields%5B3%5D=sold_amount&fields%5B4%5D=deposit_balance&fields%5B5%5D=visits_count&fields%5B6%5D=discount&fields%5B7%5D=last_visit_date&fields%5B8%5D=first_visit_date&order_by=id&order_by_direction=desc&page=1&page_size=25&segment=&operation=AND&filters%5B0%5D%5Boperation%5D=OR&filters%5B0%5D%5Bfilters%5D%5B0%5D%5Boperation%5D=AND&filters%5B0%5D%5Bfilters%5D%5B0%5D%5Bfilters%5D%5B0%5D%5Boperation%5D=AND&filters%5B1%5D%5Btype%5D=quick_search&filters%5B1%5D%5Bstate%5D%5Bvalue%5D=Vincent&client_id=190863161
Ресурс: GET:/api/v2/companies/16505332/attendance/clients/190863161?include[]=labels&include[]=first_successful_visit&include[]=custom_field_values&include[]=loyalty_cards&include[]=loyalty_cards.loyalty_card_type&include[]=loyalty_abonements&include[]=loyalty_abonements.subscription_recurring_info&include[]=loyalty_abonements.loyalty_abonement_type&include[]=loyalty_abonements.loyalty_abonement_type.service_links&include[]=loyalty_abonements.service_links&include[]=loyalty_certificates.loyalty_certificate_type&include[]=loyalty_certificates
Статус: 503
Детали: null
------------------------------------------------------------

Stacktrace:

plugins/allure/playwright/plugin.py:67 in pytest_runtest_teardown
plugins/allure/playwright/plugin.py:57 in pytest_runtest_teardown
plugins/allure/playwright/plugin.py:140 in check_page_errors

Seen in: - altegio/biz.erp#243533 — shard 4 — launch 193303 (×1, last 2026-11-20 17:57 MSK)

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

autotests.lib.exception.SigninRedirectMissingError: login-XHR завершился со статусом 200, но редиректа со /signin/ не случилось за 30 с — подозрение на фронт biz.erp
--- причина (playwright) ---
Timeout 30000ms exceeded.
=========================== logs ===========================
waiting for navigation to "<function ImplToApiMapping.wrap_handler.<locals>.wrapper_func at 0x7f5628f179c0>" until 'commit'
  navigated to "https://erp-master.infra.altegio.cloud/signin/"
  navigated to "https://erp-master.infra.altegio.cloud/signin/"
  navigated to "https://erp-master.infra.altegio.cloud/signin/JTJGdGltZXRhYmxlJTJGMTY2MDY3NjclMkY="
  navigated to "https://erp-master.infra.altegio.cloud/signin/JTJGdGltZXRhYmxlJTJGMTY2MDY3NjclMkY="
  navigated to "https://erp-master.infra.altegio.cloud/signin/JTJGdGltZXRhYmxlJTJGMTY2MDY3NjclMkY="
============================================================

Stacktrace:

suite/yclients/biz/erp/web/client_base/sidebar/test_loyalty_card_issue_unique_number_pw.py:73 in test_client_sidebar_loyalty_card_issue_unique_number
lib/apps_pw/yclients/biz/erp/web/pages/guest/signin.py:115 in sign_in

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