Skip to content

test: add Dropdown component tests - #537

Closed
netchampfaris with Copilot wants to merge 2 commits into
cypress-component-testingfrom
copilot/sub-pr-533
Closed

netchampfaris with Copilot wants to merge 2 commits into
cypress-component-testingfrom
copilot/sub-pr-533

Conversation

Copilot AI commented Jan 9, 2026 •

Copy link
Copy Markdown
Contributor

Adds comprehensive Cypress component tests for the Dropdown component to prevent regressions.

Test Coverage

  • Basic rendering: Default trigger button, custom slots, button props
  • Interactions: Menu open/close, item clicks, event handlers
  • Layout options: Placements (left/right/center), side/offset positioning
  • Advanced features: Grouped options, submenus (including nested), switch items, conditional filtering
  • Edge cases: Disabled items, themed items (red), icon placeholder alignment

Follows existing patterns from Badge and Button component tests.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: netchampfaris <9355208+netchampfaris@users.noreply.github.com>

Copilot AI commented Jan 9, 2026

Copy link
Copy Markdown
Contributor Author

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • download.cypress.io
    • Triggering command: /usr/local/bin/node node dist/index.js --exec install (dns block)
    • Triggering command: /usr/local/bin/node /usr/local/bin/node dist/index.js --exec install (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI changed the title [WIP] Add tests for Badge and Dropdown components test: add Dropdown component tests Jan 9, 2026
Copilot AI requested a review from netchampfaris January 9, 2026 12:10
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