Skip to content

test(e2e-install): navigate to clawbox.tech, not the old domain - #154

Closed
KrasimirKralev wants to merge 1 commit into
betafrom
fix/e2e-clawbox-tech-domain
Closed

KrasimirKralev wants to merge 1 commit into
betafrom
fix/e2e-clawbox-tech-domain

Conversation

@KrasimirKralev

@KrasimirKralev KrasimirKralev commented May 28, 2026 •

Copy link
Copy Markdown
Contributor

Why

openclawhardware.dev now 308-redirects to clawbox.tech (permanent). The browser e2e test launches https://openclawhardware.dev/ and asserts launched.url contains the old domain — but the browser follows the redirect, so the final URL is https://clawbox.tech/ and the assertion fails. This is the only test that breaks on the redirect (the clawkeep/app-store specs use mocks or survive the GET redirect), and it's currently the sole blocker on the beta→main promotion #153 (the codex-pin fix).

Change

e2e-install/70-browser.spec.ts β€” navigate directly to the canonical clawbox.tech and assert on it. Test intent (browser launches β†’ navigates β†’ returns url/title/screenshot) is unchanged. One file, 7 lines.

Scope note

This only fixes the test. The broader openclawhardware.dev β†’ clawbox.tech migration touches ~30 files including production code (src/app/setup-api/ai-models/clawai/poll/route.ts, portal/OAuth URLs in next.config.ts, etc.). That's deliberately out of scope here and needs its own migration PR + verification that ClawBox AI activation works against the new domain (the 308 may not survive POST/auth). Flagging separately.

Test plan

Summary by CodeRabbit

Release Notes

  • Tests
    • Updated browser integration test to target a new host for verification purposes.

Review Change Stack

openclawhardware.dev now 308-redirects to clawbox.tech, so the browser
test's `expect(launched.url).toContain("openclawhardware.dev")` failed
on the post-redirect URL. Navigate directly to the canonical clawbox.tech
host and assert on it. Test intent (browser launches + navigates + returns
url/title/screenshot) is unchanged.
@KrasimirKralev
KrasimirKralev requested a review from a team as a code owner May 28, 2026 18:05
@coderabbitai

coderabbitai Bot commented May 28, 2026 •

Copy link
Copy Markdown

No actionable comments were generated in the recent review. πŸŽ‰

ℹ️ Recent review info
βš™οΈ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: f2a3fd60-3bc9-4a95-ab6d-16feb25434a0

πŸ“₯ Commits

Reviewing files that changed from the base of the PR and between 941e71d and 8fcee87.

πŸ“’ Files selected for processing (1)
  • e2e-install/70-browser.spec.ts

πŸ“ Walkthrough

Walkthrough

The browser CDP end-to-end test is updated to navigate to the new canonical domain clawbox.tech instead of openclawhardware.dev. Comments and URL assertions are adjusted accordingly, while the test flow for capturing title and screenshots remains unchanged.

Changes

Browser e2e test update

Layer / File(s) Summary
Browser launch and navigation test update
e2e-install/70-browser.spec.ts
Test is updated to launch a browser session and navigate to clawbox.tech, with inline comments and URL assertion changed to match the new domain.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A hop through e2e lands,
Where rabbits test domain strands,
From openclaw to clawbox bright,
The browsers leapβ€”all tests pass right! ✨

πŸš₯ Pre-merge checks | βœ… 5
βœ… Passed checks (5 passed)
Check name Status Explanation
Title check βœ… Passed The title clearly and specifically describes the main change: updating the e2e test to navigate to clawbox.tech instead of the old openclawhardware.dev domain.
Description check βœ… Passed The description provides a clear summary, explains the reason for the change, documents the scope, and includes a test plan. However, it lacks completion of the required checklist items from the template (test results, convention compliance, etc.).
Docstring Coverage βœ… Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check βœ… Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check βœ… Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
πŸ“ Generate docstrings
  • Create stacked PR
  • Commit on current branch
πŸ§ͺ Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/e2e-clawbox-tech-domain

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 and usage tips.

@coderabbitai

coderabbitai Bot commented May 28, 2026

Copy link
Copy Markdown

Actionable comments posted: 0

@yalexx yalexx closed this May 28, 2026
@KrasimirKralev
KrasimirKralev deleted the fix/e2e-clawbox-tech-domain branch June 3, 2026 19:12
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.

2 participants