You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it gives me a failed test. When removing the NavigationStack the test succeeds.
Also when adding a tag to the NavigationStack as .tag property and print the output of
it gives me the whole hierarchy which clearly shows (SwiftUI.Text(storage: SwiftUI.Text.Storage.anyTextStorage(<LocalizedTextStorage: 0x00006000010656d0>: "Hello") at some point inside of it.
Am I missing something or is there a bug when traversing through Views wrapped in a NavigationStack via ViewInspector?
The text was updated successfully, but these errors were encountered:
I have a view which has a NavigationStack around it.
Now when trying to find the text "Hello" via (I use quick and nimble for testing, but XCTest gives the same result)
it gives me a failed test. When removing the NavigationStack the test succeeds.
Also when adding a tag to the NavigationStack as
.tag
property and print the output of(this test also succeeds)
it gives me the whole hierarchy which clearly shows
(SwiftUI.Text(storage: SwiftUI.Text.Storage.anyTextStorage(<LocalizedTextStorage: 0x00006000010656d0>: "Hello")
at some point inside of it.Am I missing something or is there a bug when traversing through Views wrapped in a NavigationStack via ViewInspector?
The text was updated successfully, but these errors were encountered: