mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 10:59:59 +00:00
The assertions were embedded in each role's playwright.spec.js. Extracting them follows how the other specs are laid out and completes the set: all eight MCP server roles now register a guest spec, where only five did before. Both assertions matter. A non-2xx alone would pass for an endpoint that answers 401 and still names its tools in the body, so the inventory is checked too. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
13 lines
253 B
JavaScript
13 lines
253 B
JavaScript
const { test } = require("@playwright/test");
|
|
|
|
const shared = require("./_shared");
|
|
|
|
test.use({
|
|
ignoreHTTPSErrors: true,
|
|
});
|
|
|
|
test.beforeEach(shared.beforeEach);
|
|
|
|
require("./test-guest").register(shared);
|
|
require("./test-mcp-guest").register(shared);
|