Files
XC_VM/tests/e2e
Divarion_D 53efe7071c refactor(admin-ui): rename vuexy identifiers to newui + fix mangled names
Rename the last lowercase "vuexy" identifiers left after the de-brand:
- views {header,footer,menu,vendors,topbar}.vuexy.php -> .newui.php
- functions xc_admin_use_vuexy / xc_vuexy_vendor_* / _xc_vuexy_icon -> *_newui*
- constant XC_VUEXY_PAGES -> XC_NEWUI_PAGES
- E2E spec vuexy-tables.spec.ts -> newui-tables.spec.ts + drop the brand
  name from test/Makefile prose

Also fix two identifiers the earlier brand scrub corrupted (a bare "Vuexy"
in a name became "Bootstrap 5", inserting a space): class
XcVuexyMenuBuilder -> XcNewuiMenuBuilder (was a parse error in the menu view)
and global key xmVuexyVendors -> xmNewuiVendors.

Refs: #148 #178
2026-09-03 19:50:15 +03:00
..

XC_VM admin E2E (Playwright)

Browser smoke tests for the admin panel. They run against a live instance (there is no built-in server), so point them at a test/canary panel.

Run

# one-time: install deps + the Chromium browser
cd tests/e2e && npm ci && npx playwright install --with-deps chromium

# configure (or copy .env.example -> .env)
export XC_E2E_BASE_URL="http://<host>/<access-code>"
export XC_E2E_USER="<admin user>"
export XC_E2E_PASS="<admin pass>"

# from the repo root:
make e2e          # headless run
make e2e-ui       # interactive Playwright UI

XC_E2E_BASE_URL is the admin base including the access-code path segment (e.g. http://panel.example.com/ACCESS_CODE) — the same prefix as /<code>/login.

The setup project logs in once and stores the session in .auth/admin.json; the smoke specs reuse it. Traces/screenshots/video for failures land in test-results/, the HTML report in playwright-report/ (npm run report).