Skip to content

RG-756: Add Mobile Viewport Browser Test Helpers - #877

Merged
menvil merged 1 commit into
developfrom
feature/RG-756-add-mobile-viewport-browser-test-helpers
Jun 9, 2026
Merged

RG-756: Add Mobile Viewport Browser Test Helpers#877
menvil merged 1 commit into
developfrom
feature/RG-756-add-mobile-viewport-browser-test-helpers

Conversation

@menvil

@menvil menvil commented Jun 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds tests/Browser/Support/MobileViewports.php with named viewport constants
  • Covers 375×812 (small mobile), 390×844 (mobile), 430×932 (large mobile), 768×1024 (tablet)
  • Provides all() and mobileOnly() helpers for iterating viewports in browser tests

Test plan

  • tests/Feature/Docs/Phase48MobileViewportHelperTest.php — existence and content test passes
  • composer test passes (1550 tests)
  • npm run build passes

🤖 Generated with Claude Code


Summary by cubic

Adds tests/Browser/Support/MobileViewports.php to standardize mobile and tablet viewports in browser tests. Fulfills RG-756 with named constants and all() / mobileOnly() helpers; covers 375×812, 390×844, 430×932, and 768×1024, and includes a feature test.

Written for commit 11eae94. Summary will update on new commits.

Review in cubic

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@menvil
menvil merged commit 42fa8d5 into develop Jun 9, 2026
@menvil
menvil deleted the feature/RG-756-add-mobile-viewport-browser-test-helpers branch June 9, 2026 19:12
@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@menvil, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 17 minutes and 54 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 089cac1a-d99f-4a13-b8e3-8b3db8da0fae

📥 Commits

Reviewing files that changed from the base of the PR and between d7e7263 and 11eae94.

📒 Files selected for processing (2)
  • tests/Browser/Support/MobileViewports.php
  • tests/Feature/Docs/Phase48MobileViewportHelperTest.php
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/RG-756-add-mobile-viewport-browser-test-helpers

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.

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