Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
playwright - Skill - OpenSmartRoute
Skillv1.0.0
playwright
Tests use 4 fixture sets: 3sensor, mixed, system, aggregator. Mock server in `tests/mock-server/server.js`.
Tests use 4 fixture sets: 3sensor, mixed, system, aggregator. Mock server in tests/mock-server/server.js.
Key constraints:
Use stable locators: getByRole(), getByText(), getByTestId() preferred over CSS selectors
Test files are in tests/browser/ — each .spec.js file covers one functional area
Fixtures in tests/fixtures/ — each set has its own manifest and mock data
Mock server responses must match the actual firmware API contracts exactly
Generated files (dashboard.h, sensor_history_multi.h) should be excluded from test-related diffs
Run tests: npx playwright test or npx playwright test tests/browser/specific.spec.js
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
yaml
targets:
- https://api.opensmartroute.ai/api/v1/registry/gcv-sleeper-service-esp32-gw-multi-sensor-playwright-ins-4ceb05/manifest # or paste the manifest below
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
{
"ocm": "1",
"id": "gcv-sleeper-service-esp32-gw-multi-sensor-playwright-ins-4ceb05",
"kind": "skill",
"name": "playwright",
"description": "Tests use 4 fixture sets: 3sensor, mixed, system, aggregator. Mock server in `tests/mock-server/server.js`.",
"publisher": "GCV-Sleeper-Service",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"tags": [
"skill-md",
"github-instructions"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Tests use 4 fixture sets: 3sensor, mixed, system, aggregator. Mock server in `tests/mock-server/server.js`."
],
"primary": false,
"metadata": {
"source": {
"provider": "github-instructions",
"repository": "https://github.com/GCV-Sleeper-Service/ESP32-GW-multi-sensor",
"path": ".github/instructions/playwright.instructions.md",
"ref": "b64cd770f87ff0d8a3c7697065c97dfe23d1129d",
"url": "https://github.com/GCV-Sleeper-Service/ESP32-GW-multi-sensor/blob/b64cd770f87ff0d8a3c7697065c97dfe23d1129d/.github/instructions/playwright.instructions.md",
"key": "GCV-Sleeper-Service/ESP32-GW-multi-sensor/.github/instructions/playwright.instructions.md"
},
"applies_to": "tests/**"
},
"instructions": "## Playwright Test Rules\n\nTests use 4 fixture sets: 3sensor, mixed, system, aggregator. Mock server in `tests/mock-server/server.js`.\n\nKey constraints:\n- Use stable locators: `getByRole()`, `getByText()`, `getByTestId()` preferred over CSS selectors\n- Test files are in `tests/browser/` — each `.spec.js` file covers one functional area\n- Fixtures in `tests/fixtures/` — each set has its own manifest and mock data\n- Mock server responses must match the actual firmware API contracts exactly\n- Generated files (`dashboard.h`, `sensor_history_multi.h`) should be excluded from test-related diffs\n- Run",
"cost": {
"context_tokens": 171
}
}
Fetch it by URL: GET /api/v1/registry/gcv-sleeper-service-esp32-gw-multi-sensor-playwright-ins-4ceb05/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.