Skip to content

#52307 Inter-tab navigation on a dirty form raises the guard; «Keep editing» preserves it.

Variant C  an ACTIVE DEPOSIT policy (tabs enabled) + 3 services / 2 categories.
Editing the deposit amount makes the Main tab dirty. Clicking the Services tab
is an in-SPA route change between two `LEAVE_GUARDED_ROUTE_NAMES` tabs, so the
leave-guard modal appears (router/index.ts:113-128). Choosing «Keep editing»
aborts the navigation (`if (!userConfirmed) return false`)  the page stays on
Main and the dirty form is preserved (Save still enabled, deposit form still
shown, Services tab NOT loaded).

test_payment_policy_inter_tab_dirty_preserve

Failures in last 30 days: 12

Generated at 2026-08-11 06:34 MSK

Last failure: 2026-08-05 17:42 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 — 12

Failure signatures (grouped by exception + full message):

TimeoutError — 12 occurrence(s) across 4 pipeline(s)

playwright._impl._errors.TimeoutError: Locator.click: Timeout 30000ms exceeded.
Call log:
  - waiting for get_by_role("button", name="Keep editing", exact=True)

Stacktrace:

suite/yclients/biz/erp/web/settings/payment_policy/test_payment_policy_inter_tab_dirty_preserve_pw.py:98 in test_payment_policy_inter_tab_dirty_preserve

Seen in: - testops/autotests#214809shard 3launch 139131 (×3, last 2026-08-05 17:42 MSK) - testops/autotests#214683shard 3launch 138228 (×3, last 2026-08-05 04:39 MSK) - testops/autotests#214671shard 3launch 138195 (×3, last 2026-08-05 03:31 MSK) - testops/autotests#214666shard 3launch 138129 (×3, last 2026-08-05 02:30 MSK)