-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(analytics-js-sanity-suite): fix text wrapping for buttons #1822
Conversation
WalkthroughWalkthroughThe recent changes primarily enhance the HTML semantics and visual presentation of the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant TestBook
participant Button
User->>TestBook: Interacts with component
TestBook->>Button: Applies styling changes
Button-->>User: Displays updated button
Note over User, TestBook: Improved accessibility and semantics
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- packages/sanity-suite/src/testBook/TestBook.js (7 hunks)
Files skipped from review due to trivial changes (1)
- packages/sanity-suite/src/testBook/TestBook.js
Quality Gate passedIssues Measures |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #1822 +/- ##
========================================
Coverage 56.79% 56.79%
========================================
Files 476 476
Lines 16191 16191
Branches 3226 3235 +9
========================================
Hits 9196 9196
+ Misses 5779 5733 -46
- Partials 1216 1262 +46 ☔ View full report in Codecov by Sentry. |
size-limit report 📦
|
PR Description
Fixed the text wrapping of the buttons in the sanity suite HTML page that prevents them from being clicked via web driver IO on mobile devices (with smaller viewports) thereby failing the E2E test suite on Samsung devices.
Here is the E2E test suite run report of one of the failing features with the changes fixed in the sanity suite:
https://automate.browserstack.com/dashboard/v2/builds/c663cd294a85447f47dda0893893e7f7ad171adc?overallStatus=completed&projectIds=2116906
Linear task (optional)
https://linear.app/rudderstack/issue/SDK-2181/fix-e2e-test-suite-failures-in-mobile-browsers-js-sdk
Cross Browser Tests
Please confirm you have tested for the following browsers:
Sanity Suite
Security