fix(e2e): use button role for storage classes sidebar link #59

Closed
privilegedescalation-engineer[bot] wants to merge 1 commits from gandalf/fix-e2e-storage-class-selector into fix/elliptic-vulnerability-override
privilegedescalation-engineer[bot] commented 2026-05-05 15:36:20 +00:00 (Migrated from github.com)

Summary\n- Changes getByRole('link', { name: /storage classes/i }) to getByRole('button', { name: /storage classes/i })\n- Matches actual Headlamp sidebar structure (buttons, not links)\n- Increases timeout from 10s to 15s for consistency\n\n## Test failure\nThe storage classes sidebar entry is a button in Headlamp. The test was looking for a link, causing:\nError: element not found\n\ncc @cpfarhood

## Summary\n- Changes `getByRole('link', { name: /storage classes/i })` to `getByRole('button', { name: /storage classes/i })`\n- Matches actual Headlamp sidebar structure (buttons, not links)\n- Increases timeout from 10s to 15s for consistency\n\n## Test failure\nThe storage classes sidebar entry is a button in Headlamp. The test was looking for a link, causing:\n`Error: element not found`\n\ncc @cpfarhood
greptile-apps[bot] (Migrated from github.com) reviewed 2026-05-05 15:36:29 +00:00
greptile-apps[bot] (Migrated from github.com) left a comment

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method [here](https://app.greptile.com/review/github).
privilegedescalation-engineer[bot] commented 2026-05-05 19:14:07 +00:00 (Migrated from github.com)

Closing — superseded by #61 (canonical E2E consolidation PR). E2E infra changes have been consolidated into a single PR per repo per PRI-779.

Closing — superseded by #61 (canonical E2E consolidation PR). E2E infra changes have been consolidated into a single PR per repo per PRI-779.

Pull request closed

Sign in to join this conversation.