[WV-2599] Fix fragile styled-components selector in FAQ page title Element#4833
[WV-2599] Fix fragile styled-components selector in FAQ page title Element#4833tarunramireddy wants to merge 5 commits into
Conversation
…ement Replace auto-generated CSS class .kkIyuQ with stable text-based selector so the test does not break when styled-components regenerates class names on each build.
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Updates the FAQ page object to locate the page title using a more semantic selector rather than a generated CSS class.
Changes:
- Replaces a CSS class selector for the FAQ page title with an element/text-based selector.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Remove it.only from verifyGitHubLinkRedirected so all three tests run - Add missing getTermsLinkElement getter to ReadyPage using #footerLinkTermsOfUse - Add missing pageContentTitleText getter to PrivacyPage using stable h1 text selector
- Remove driver.switchWindow() calls for in-page SPA navigation (value pages open in same tab, not new window) - Add window.scrollTo(0,0) before avatar sign-out click in endorsers tests (page is deeply scrolled after scrollIntoView on showMoreItemsId) - Use waitForClickable with 30s timeout for avatar after endorsers section (OrganizationList re-render after loading all endorsers takes longer than default 10s) - Remove duplicate class body from ready.browser.js that contained a broken login() using #emailVerifyButton instead of #phoneVerifyButton
…aq-regression-fixes
|
@tarunramireddy Thanks for the changes . I see that PR is in draft status . Are you planning to change it to open? |
charanya-QA
left a comment
There was a problem hiding this comment.
@tarunramireddy : Thanks for helping ! Could you pls check the ready page object file alone ? Rest all looks good!
There was a problem hiding this comment.
@tarunramireddy : I see few functions are deleted here but they are being used in the spec file. Could you pls help to understand? line 604 to 761
There was a problem hiding this comment.
@charanya-QA It’s not ready yet. I’ll confirm once this pull request is ready
What github.com/wevote/WebApp/issues does this fix?
WV-2599 — Regression run failure analysis and fixes for FAQ, Terms page, and VerifyCount
Changes included this pull request?