Playwright E2E: better logout selector chain + JS fallback

Test now tries (in order):
1. .sb-foot .lo (topbar logout in sidebar foot)
2. .lo (any logout class)
3. #pgz-menu-logout (sidebar.js menu link)
4. a/button :has-text('Odjava')
5. JS fallback: window.logout() or PGZSidebar.logout()

Also: dialog handler accepts confirm() automatically.
This commit is contained in:
2026-05-05 09:23:13 +02:00
parent dd2f7daaf8
commit a0fb328029
12 changed files with 139 additions and 34 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 344 KiB