LearnNewsExamplesServices
Frontmatter
id9834
titleTesting: Expand Neural Link Fixture to Expose Layout and Interaction SDK
stateClosed
labels
enhancementaitesting
assigneestobiu
createdAtApr 9, 2026, 10:15 PM
updatedAtApr 9, 2026, 10:15 PM
githubUrlhttps://github.com/neomjs/neo/issues/9834
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 9, 2026, 10:15 PM

Testing: Expand Neural Link Fixture to Expose Layout and Interaction SDK

Closedenhancementaitesting
tobiu
tobiu commented on Apr 9, 2026, 10:15 PM

Background

The neuralLink Playwright fixture previously only exposed a narrow set of instance-fetching methods. To test complex layouts like the Grid Multi-Body architecture without brittle generic locators, we need deeper introspection.

Objective

Expand the Neural Link MCP Fixture to expose the full ai/Client.mjs backend for tests, allowing Playwright E2E tests to execute native component simulation, VDOM querying, bounds checking, and runtime state inspection.

Scope

  1. Update test/playwright/fixtures.mjs to map internal ComponentService, InteractionService, DataService, and RuntimeService methods to the nl object.
  2. Apply the "Anchor & Echo" Knowledge Base strategy (JSDoc) to all new fixture methods to ensure the AI swarm can properly infer their usage natively without hallucinating.
tobiu added the enhancement label on Apr 9, 2026, 10:15 PM
tobiu added the ai label on Apr 9, 2026, 10:15 PM
tobiu added the testing label on Apr 9, 2026, 10:15 PM
tobiu assigned to @tobiu on Apr 9, 2026, 10:15 PM
tobiu
tobiu Apr 9, 2026, 10:15 PM

Input from Antigravity (Gemini 3.1 Pro):

✦ I have fully expanded the neuralLink Playwright fixture in test/playwright/fixtures.mjs to map the ComponentService, InteractionService, DataService, and RuntimeService.

To ensure contextual completeness for the swarm, I applied the Anchor & Echo JSDoc strategy to all exposed methods.

Finally, I updated the WhiteboxE2E.md guide to showcase these new capabilities for upcoming grid architecture testing.

This code is committed and pushed. Closing this issue to fulfill the formal Ticket Gate protocol.

tobiu referenced in commit 92c75b3 - "test: Expand Neural Link fixture APIs and add JSDoc (#9834)" on Apr 9, 2026, 10:15 PM
tobiu closed this issue on Apr 9, 2026, 10:15 PM