Repository navigation
refactor: Update Admin Navigation, Connectors, and Dashboard E2E tests to use user-facing locators - #1435
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #1435 +/- ##
=============================================
- Coverage 85.59% 85.39% -0.20%
Complexity 5091 5091
=============================================
Files 193 193
Lines 18425 19477 +1052
=============================================
+ Hits 15770 16632 +862
- Misses 2655 2845 +190
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. Props Bot commandsYou can trigger Props Bot actions by commenting on this PR:
|
What?
Follow-up to #778.
Update the Admin Navigation, Connectors, and Dashboard E2E tests to use user-facing locators.
How?
activate.spec.jsfinds activation links by accessible name and scopes plugin action links to the AI plugin row.tools.spec.jsfinds AI tools through headings, lists, named links, and the Main menu navigation.featured-connectors.spec.jsfinds connector list items by role and heading.dashboard.spec.jsverifies summary metrics by their displayed labels instead of counting styled cards.Use of AI Tools
AI assistance: Yes
Tool(s): Claude Code
Model(s): Sonnet 4.6
Used for: Validating bug, suggesting a fix.
Testing Instructions
Run the affected tests:
Changelog Entry