Skip to content

fix(e2e): match explore DAO cards at their root after the gov-ui-kit 2.11.1 link overlay - #1364

Merged
tyhonchik merged 1 commit into
mainfrom
fix/e2e-explore-dao-cards-locator
Sep 4, 2026
Merged

fix(e2e): match explore DAO cards at their root after the gov-ui-kit 2.11.1 link overlay#1364
tyhonchik merged 1 commit into
mainfrom
fix/e2e-explore-dao-cards-locator

Conversation

@tyhonchik

Copy link
Copy Markdown
Contributor

Two explore smoke tests (displays a non-empty DAO list from the API, search filters the DAO list) fail on every run since #1358 landed on main. The bump to gov-ui-kit 2.11.3 brought in the 2.11.1 change to DataListItem (APP-1089, gov-ui-kit #765): a row with an href now renders its link as an empty absolute overlay named via aria-labelledby, and the card content is a sibling of the link instead of its child. The explore page helper located a DAO card as a link that contains a heading, which no longer matches anything. The app itself is fine, only the locator went stale.

Changes

  • ExplorePage.daoCards() matches the card root. div:has(> a[aria-labelledby]):has(h2) inside main instead of a link filtered by a heading. Verified against dev.app.aragon.org (main): the spec goes from 2 failed / 2 passed to 4 passed.

Bisected on main runs: c70fb6a3 (#1361) 82 passed, c1cdcf91 (#1358) 80 passed / 2 failed and every run after. The failure was visible in #1358's e2e comment but the e2e job itself is non-blocking, so it slipped through.

🤖 Generated with Claude Code

@tyhonchik
tyhonchik requested a review from a team as a code owner September 4, 2026 15:08
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown

🚀 Preview Deployment: View Here

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown

E2E results (preview)

Smoke

Base URL https://app-next-c3phex9v4-aragon-app.vercel.app
Suite smoke
Playwright result ✅ passed
Summary 82 passed
HTML report View report
GitHub job ✅ completed

View run #5125

milosh86
milosh86 previously approved these changes Sep 4, 2026

@milosh86 milosh86 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

…2.11.1 link overlay

Since gov-ui-kit 2.11.1 (APP-1089) a DataListItem with an href renders its link as an
empty absolute overlay named via aria-labelledby, with the card content as a sibling of
the link. The explore smoke tests located a card as a link that contains a heading, which
no longer matches anything, failing two tests on every run since the 2.11.3 bump landed
on main. The locator now matches the card root instead.
@tyhonchik
tyhonchik force-pushed the fix/e2e-explore-dao-cards-locator branch from 4bb6c8f to 5845e96 Compare September 4, 2026 15:23
@tyhonchik
tyhonchik requested a review from milosh86 September 4, 2026 15:23
@tyhonchik
tyhonchik merged commit e89d38d into main Sep 4, 2026
20 checks passed
@tyhonchik
tyhonchik deleted the fix/e2e-explore-dao-cards-locator branch September 4, 2026 21:13
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.

2 participants