You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(e2e): update breadcrumb navigation assertions in E2E tests (#1295)
* test(e2e): update breadcrumb navigation assertions in E2E tests
- accounts: update 'Back to Accounts' link assertion to 'Accounts'
- admin-config: update 'Back to Tenants' link assertion to 'Tenants'
- positions: scope 'Positions' link lookup to breadcrumb nav to avoid
strict mode violation with sidebar navigation link
* test(e2e): scope accounts breadcrumb link to avoid strict mode violation
The 'Accounts' link appears in both sidebar navigation and breadcrumb,
causing a strict mode violation. Scope the locator to the breadcrumb
nav element using getByLabel('Breadcrumb').
* test(e2e): scope parties breadcrumb link assertions to avoid strict mode
The 'Parties' link appears in both sidebar navigation and breadcrumb
on party detail pages, causing strict mode violations. Scope all
breadcrumb link assertions to the breadcrumb nav element using
getByLabel('Breadcrumb').
* test(e2e): scope payments breadcrumb link to avoid strict mode violation
The 'Payments' link appears in both sidebar navigation and breadcrumb
on payment detail error pages. Scope the locator to the breadcrumb
nav element using getByLabel('Breadcrumb').
---------
Co-authored-by: Ben Coombs <bjcoombs@users.noreply.github.com>
0 commit comments