Skip to content

feat: update workflows - #91

Merged
NisargIO merged 4 commits into
first-minorfrom
yipee
Apr 8, 2026
Merged

NisargIO merged 4 commits into
first-minorfrom
yipee

Conversation

@NisargIO

@NisargIO NisargIO commented Apr 7, 2026

Copy link
Copy Markdown
Member
  • Added new dependencies for the MCP application, including '@effect/platform-node', '@modelcontextprotocol/sdk', and 'accessibility-checker-engine'.
  • Updated the publish workflow to include a separate step for publishing the MCP application.
  • Introduced a detailed prompt for using Expect browser testing tools effectively in the MCP server.
  • Cleaned up the CLI package.json by removing the 'expect-mcp' entry from the bin section.

Summary by cubic

Adds a standalone expect-mcp app and a built-in "run" prompt with an Expect testing guide. Updates the publish workflow to release the CLI and expect-mcp together with separate preview URLs.

  • New Features

    • Introduced apps/mcp with the expect-mcp binary packed via vite-plus (bundles @expect/*, keeps playwright external).
    • MCP server registers a "run" prompt with step-by-step guidance for using Expect tools.
    • Publish workflow releases apps/cli and apps/mcp in one job and captures separate expect-cli and expect-mcp preview URLs; smoke tests updated.
    • CLI README options table formatting improved for readability.
  • Migration

    • The CLI no longer exposes expect-mcp in its bin. Use the new expect-mcp package instead.

Written for commit 28eb432. Summary will update on new commits.

@vercel

vercel Bot commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
expect Ready Ready Preview, Comment Apr 8, 2026 2:58am

@pkg-pr-new

pkg-pr-new Bot commented Apr 7, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/millionco/expect/expect-cli@91
npm i https://pkg.pr.new/millionco/expect/expect-mcp@91

commit: f9c8340

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 8 files

NisargIO added 2 commits April 7, 2026 18:50
- Added new dependencies for the MCP application, including '@effect/platform-node', '@modelcontextprotocol/sdk', and 'accessibility-checker-engine'.
- Updated the publish workflow to include a separate step for publishing the MCP application.
- Introduced a detailed prompt for using Expect browser testing tools effectively in the MCP server.
- Cleaned up the CLI package.json by removing the 'expect-mcp' entry from the bin section.
- Consolidated the publish step for both CLI and MCP applications into a single job.
- Updated output handling to capture URLs for both applications and store them in GitHub Actions output.
- Adjusted smoke test commands to reference the new output structure.
- Added a new resource for the Expect MCP Guide, providing users with a reference for using Expect browser testing tools effectively.
- Updated descriptions for various MCP commands to include guidance on reading the Expect guide before usage, improving user experience and clarity.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 1 file (changes from recent commits).

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="packages/browser/src/mcp/server.ts">

<violation number="1" location="packages/browser/src/mcp/server.ts:633">
P2: Commenting out `registerRulesResources(server)` removes MCP rule resources and the `rules` prompt from the server.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review, or fix all with cubic.

}),
);

// registerRulesResources(server);

@cubic-dev-ai cubic-dev-ai Bot Apr 8, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: Commenting out registerRulesResources(server) removes MCP rule resources and the rules prompt from the server.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At packages/browser/src/mcp/server.ts, line 633:

<comment>Commenting out `registerRulesResources(server)` removes MCP rule resources and the `rules` prompt from the server.</comment>

<file context>
@@ -604,22 +612,25 @@ export const createBrowserMcpServer = <E>(
   );
 
-  registerRulesResources(server);
+  // registerRulesResources(server);
 
   return server;
</file context>
Fix with Cubic

- Adjusted the formatting of the options table in the CLI README for better readability.
- Ensured consistent spacing and alignment across all option descriptions.
@NisargIO
NisargIO merged commit cc71ae8 into first-minor Apr 8, 2026
6 of 9 checks passed
@NisargIO
NisargIO deleted the yipee branch April 8, 2026 03:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant