Skip to content

Fixes E2E test failure in MCP setup wizard when no Gateway exists. - #821

Merged
Anton-Fil merged 1 commit into
Kuadrant:mainfrom
Anton-Fil:mcp-wizard-e2e
Sep 3, 2026
Merged

Fixes E2E test failure in MCP setup wizard when no Gateway exists.#821
Anton-Fil merged 1 commit into
Kuadrant:mainfrom
Anton-Fil:mcp-wizard-e2e

Conversation

@Anton-Fil

Copy link
Copy Markdown
Contributor

Summary

  • Fixes E2E test failure in MCP setup wizard when no Gateway exists.
  • Creates an isolated test Gateway in beforeAll.
  • Removes the Gateway in afterAll.
  • Selects the Gateway by its resource value instead of relying on dropdown index.

Testing

  • Prettier passed.
  • ESLint passed.
  • Verified with the targeted Playwright test:

npx playwright test
--config=e2e/playwright.config.ts
e2e/tests/mcp-setup-wizard.spec.ts
-g "next is disabled until a gateway is selected"
--headed

Fixes #760

Signed-off-by: Anton-Fil <a.filkach@gmail.com>
@coderabbitai

coderabbitai Bot commented Sep 1, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 42 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Team

Run ID: fa422195-ac41-428c-9946-7bc727159283

📥 Commits

Reviewing files that changed from the base of the PR and between 2b13139 and 697f660.

📒 Files selected for processing (1)
  • e2e/tests/mcp-setup-wizard.spec.ts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Anton-Fil
Anton-Fil merged commit 45c6cd0 into Kuadrant:main Sep 3, 2026
17 checks passed
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.

E2E: MCP wizard test fails when no gateway exists

2 participants