This commit is contained in:
Felix Weinberger 2025-08-05 14:08:26 +01:00
commit 1e399b7055
No known key found for this signature in database

View file

@ -7,7 +7,9 @@ test.describe("CLI Arguments @cli", () => {
page,
}) => {
// Simulate: npx . --transport sse --server-url http://localhost:3000/sse
await page.goto("http://localhost:6274/?transport=sse&serverUrl=http://localhost:3000/sse");
await page.goto(
"http://localhost:6274/?transport=sse&serverUrl=http://localhost:3000/sse",
);
// Wait for the Transport Type dropdown to be visible
const selectTrigger = page.getByLabel("Transport Type");
@ -26,7 +28,9 @@ test.describe("CLI Arguments @cli", () => {
page,
}) => {
// Simulate config with streamable-http transport
await page.goto("http://localhost:6274/?transport=streamable-http&serverUrl=http://localhost:3000/mcp");
await page.goto(
"http://localhost:6274/?transport=streamable-http&serverUrl=http://localhost:3000/mcp",
);
// Wait for the Transport Type dropdown to be visible
const selectTrigger = page.getByLabel("Transport Type");
@ -58,4 +62,4 @@ test.describe("CLI Arguments @cli", () => {
await expect(page.locator("#command-input")).toBeVisible();
await expect(page.locator("#arguments-input")).toBeVisible();
});
});
});