testing-gamehub

Guides end-to-end testing of GameHub admin and public Angular UIs against a local .NET backend.

Updated Jul 21, 2026
One-click install
npx skills add https://github.com/afonsoft/gamehub --skill testing-gamehub-afonsoft
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: testing-gamehub
Source: https://github.com/afonsoft/gamehub/tree/main/.claude/skills/testing-gamehub
Command: npx skills add https://github.com/afonsoft/gamehub --skill testing-gamehub-afonsoft

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up and verifying the GameHub platform locally involves a multi-service stack (.NET backend, two Angular frontends, PostgreSQL via Docker) with several known pitfalls such as EAF 9.4.3 tenant-registration issues, ng serve binding problems, and source-map BOM errors. This Skill provides the exact steps and workarounds to get the full stack running and verify it works. ## Core Features & Use Cases - Local stack setup: Step-by-step commands to start Docker infrastructure, run EF migrations, launch the .NET backend on port 8001, and serve both the public UI (port 4200) and admin UI (port 8000). - Known workarounds: Fixes for the devtools-ignore-plugin BOM error, IPv6-only ng serve binding, m-switch toggle duplication, and the commonlookupmodal blocking the UI after login. - EAF 9.4.3 tenant-registration notes: Explains how TenantJoinRequest endpoints, public UI registration, and admin bootstrap were fixed and how to approve tenant requests via Swagger. - DevTools verification checklist: What to check for SignalR WebSocket negotiation, font decoding errors, and aria-hidden warnings. - Use Case: A developer clones the GameHub repo and needs to smoke-test the admin and public UIs locally, including registering a user and confirming SignalR chat connects. ## Quick Start Use the testing-gamehub skill to walk me through starting the local GameHub stack and verifying the admin UI login and SignalR connection.

Frequently Asked Questions about testing-gamehub

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run the GameHub admin and public UI locally?▼

Start PostgreSQL with docker compose, build and run the GameHub.Migrator, launch the .NET backend on port 8001, then run npm start in the angular folder for the public UI on port 4200 and in angular-admin/GameHub.UI for the admin UI on port 8000.

How do I test EAF tenant registration in an Angular app?▼

Use the TenantJoinRequest endpoints exposed via Swagger after adding CustomSchemaIds with type.FullName. Public UI registration works through HubAuthService.selectTenant and getAvailableTenants, and pending requests can be approved via POST /api/services/app/TenantJoinRequest/Approve.

Why does ng serve fail with an invalid JSON BOM error?▼

The devtools-ignore-plugin throws 'Unexpected token' when source files contain a UTF-8 BOM. Strip the BOM from node_modules/@angular-devkit/build-angular/.../devtools-ignore-plugin.js and any .map files under src/assets that contain one.

Why can't Chrome reach the Angular dev server on 127.0.0.1?▼

ng serve may bind to IPv6 only, causing ERR_CONNECTION_REFUSED on 127.0.0.1. Navigate to http://localhost:8000 instead and confirm the actual listening address with ss -ltnp | grep :8000, then match appBaseUrl in appconfig.Local.json.

How do I verify SignalR is working in the browser?▼

Filter the Network tab by signalr-chat and expect a 200 on the negotiate POST followed by a 101 WebSocket upgrade. The console should also log a 'Chat reconnected' message with a ConnectionId.