-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
Completed 🔥accessibility ♿bug 🐛An unexpected issue that highlights incorrect behaviorAn unexpected issue that highlights incorrect behaviortesting 🏗️
Milestone
Description
Describe the bug
A clear and concise description of what the bug is.
When providing an Automation ID to the Expander control in XAML, it cannot be referenced by that ID within a UI test.
Tooling to read the UI suggests that the Expander button shown is the control's root and this has a preset automation ID of PART_ExpanderToggleButton provided by the button's name.
This makes it difficult to reference a specific Expander within a UI test, particularly when there is potential for more than 1 on a page.
- Is this bug a regression in the toolkit? If so, what toolkit version did you last see it work:
Environment
NuGet Package(s):
- Uwp.UI.Controls
Package Version(s):
- 6.1.1
Windows 10 Build Number:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [x] May 2020 Update (19041)
- [ ] Insider Build (build number: )
App min and target version:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [x] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [ ] May 2020 Update (19041)
- [ ] Insider Build (xxxxx)
Device form factor:
- [x] Desktop
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT
Visual Studio
- [ ] 2017 (version: )
- [x] 2019 (version: 16.7.4)
- [ ] 2019 Preview (version: )
Metadata
Metadata
Assignees
Labels
Completed 🔥accessibility ♿bug 🐛An unexpected issue that highlights incorrect behaviorAn unexpected issue that highlights incorrect behaviortesting 🏗️