AccessibilityIdentifier being overwritten in form by confirmation dialog #1035
Replies: 3 comments
-
Can you confirm this is a TCA issue by recreating this small demo in vanilla SwiftUI and seeing if |
Beta Was this translation helpful? Give feedback.
-
Yes, it fails with vanilla SwiftUi also. Am I doing something wrong?
Here is the output when inspecting before the confirmation dialog appears. You can see the only table identifier is "MyConfirmation"
|
Beta Was this translation helpful? Give feedback.
-
@kgrigsby59 We're not quite sure, but if it's a bug in SwiftUI you may want to file feedback to see if the behavior is intentional or not. I'm going to convert this to a discussion since it's not a bug in our library's code, and so that others can find the information there. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
I'm trying to assign an accessibilityIdentifier to a form and to a confirmationDialog defined at the same level. It appears the confirmationDialog identifier is overwriting the identifier of the form. I'm guessing some support needs to be added to ConfirmationDialogState.
To Reproduce
IDTest.zip
There is a ui test asserting both exist but it fails.
Expected behavior
I expect the form to have an identifier "MyForm" and the confirmationDialog to have the identifier "MyIdentifier"
Environment
Additional context
Add any more context about the problem here.
Beta Was this translation helpful? Give feedback.
All reactions