@@ -13,10 +13,23 @@ const SIDEBAR_VISIBLE_TIMEOUT = 15_000;
1313 * The Home page (`/home`) deliberately uses a top navigation bar instead
1414 * of a left sidebar, so these tests navigate into an application first by
1515 * clicking the first app card. Client-side navigation (no full reload) is
16- * used to preserve the MSW-backed mock auth session.
16+ * used to preserve the auth session.
1717 *
18- * The MSW mock environment requires authentication, so each test
19- * registers a fresh user before entering the application.
18+ * NOTE: These tests are currently skipped in CI because the in-browser MSW
19+ * mock backend was removed (refactor commit 2b7435b7) and the e2e build now
20+ * targets the remote demo backend (`demo.objectstack.ai`) via
21+ * `VITE_SERVER_URL`. That endpoint is not a stable test target — its
22+ * `/api/v1/auth/sign-up/email` route is intermittently unavailable and
23+ * causes `page.waitForURL` to time out at the auth helper.
24+ *
25+ * Re-enable once one of the following is in place:
26+ * 1. A self-contained mock backend is wired back into the preview build
27+ * (e.g. via `@objectstack/plugin-msw`), or
28+ * 2. The auth helper is rewritten to stub `/api/v1/discovery` +
29+ * `/api/v1/meta/*` responses with `page.route(...)` so the suite
30+ * no longer depends on a remote service.
31+ *
32+ * See `e2e/view-workflows.spec.ts` for the same pattern.
2033 */
2134
2235/**
@@ -39,7 +52,7 @@ async function enterFirstApp(page: import('@playwright/test').Page) {
3952}
4053
4154test . describe ( 'Sidebar Text Visibility' , ( ) => {
42- test ( 'should show all text labels when sidebar is expanded in icon mode' , async ( { page } ) => {
55+ test . skip ( 'should show all text labels when sidebar is expanded in icon mode' , async ( { page } ) => {
4356 await enterFirstApp ( page ) ;
4457
4558 // Wait for sidebar to be visible (page needs time to render after auth redirect)
@@ -122,7 +135,7 @@ test.describe('Sidebar Text Visibility', () => {
122135 console . log ( `Found ${ labelCount } group labels and ${ buttonCount } menu buttons` ) ;
123136 } ) ;
124137
125- test ( 'should hide text labels when sidebar is collapsed in icon mode' , async ( { page } ) => {
138+ test . skip ( 'should hide text labels when sidebar is collapsed in icon mode' , async ( { page } ) => {
126139 await enterFirstApp ( page ) ;
127140
128141 const sidebar = page . locator ( '[data-sidebar="sidebar"]' ) . first ( ) ;
0 commit comments