Skip to content

Commit

Permalink
CustomSelectControl: add additional unit tests (#56575)
Browse files Browse the repository at this point in the history
* `CustomSelectControl`: add additional unit tests

* Update tests based on PR feedback

* Update naming

* Add an extra selection to bolster test

* Test both uncontrolled and controlled

* Add test for custom event handlers

* Add alliterative options for testing character matches

* Add tests for styles and classes

* Make tests more dynamic

* Adjust specificity of button queries to check for expanded value

* Add label and adjust listbox queries

* Add additional assertions for focus

* Update test to include all items from options
  • Loading branch information
brookewp authored Dec 11, 2023
1 parent 275e833 commit 1ed4def
Showing 1 changed file with 367 additions and 35 deletions.
Loading

1 comment on commit 1ed4def

@github-actions
Copy link

Choose a reason for hiding this comment

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

Flaky tests detected in 1ed4def.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7172776105
📝 Reported issues:

Please sign in to comment.