import { expect, test } from "@playwright/test"; // Audiobookshelf: the SSO round trip must land a session with a real permission level. // // The service answers on a LAN address with no DNS name and no Caddy vhost, so it is in no // guarded-vhost list and no other spec ever fetched a byte of it — every deploy gate passed // while its login was dead. Two defect classes, both caught live on 2026-11-02: // // 1. The bundle must be BUILT for /audiobookshelf (ROUTER_BASE_PATH in the quadlet). Built // for "/" the container still answers /healthcheck and still serves index.html, so the // deploy health gate is green while the browser sees a blank page: every