Repository navigation
feat(tests): enhance role and label selectors for improved element ta… - #705
Merged
Merged
Conversation
…rgeting in agent and git automation tests
Contributor
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
- Agent spec combobox scoping —
.first()correctly targets the ACP provider picker, which is the first (and only unnamed) combobox on the step-2 config panel now thatAcpModelEffortFieldsadds a second effort select. - Git trigger palette labels — the short forms with
exact: truematchPluginTypeGroup'sgitNodeShortLabel()output, while the canvas assertion correctly keeps the fullGit: Issue Createdtitle. - Repository label selectors —
exact: trueavoids substring-matching theRepository descriptionlabel on linked-repository cards.
deepseek-v4.1-flash-1017 (free via Pullfrog for OSS) | 𝕏
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Fixes the failing
e2e-testsrun (#41878005805). Four specs failed in every browser job because the tests had gone stale against recent UI changes. Only the e2e specs change; no app code is touched.Changes
git-automation-nodes.spec.ts(2 tests)Git:prefix from menu items in its Git section (8c901a79), soGit: Issue Createdno longer matched.Issue Created/Pull Request State Changedwithexact: true. The canvas node title still readsGit: Issue Created, so that check is unchanged.git-automation.spec.ts,git-settings.spec.ts(7 tests)getByLabel("Repository")matched both the input and the "Link a repository" dialog, a Playwright strict-mode violation.getByLabel("Repository", { exact: true }).agents.spec.ts(1 test)dialog.getByRole("combobox")matched two elements..first(), the provider select.Testing
role-badges-selector,pagination,view-settings, docs folder rename,users-management). They look flaky and are not addressed here.