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
The first two tests are passing. The last one (test_navigationDestinationView_isAccessible) - is not. I get this error: "test_navigationDestinationView_isAccessible(): XCTAssertNoThrow failed: threw error "Search did not find a match".
Please let me know if I'm missing something.
The text was updated successfully, but these errors were encountered:
Hi @litvakle,
Pushing a view into a NavigationStack is asynchronous. Give async inspection a try. I used the approach #2 to test navigationDestination(isPresented:destination:) with NavigationStack, and it worked.
Sorry for the late response. I tried async inspection, but it didn't help me.
However, I checked navigationDestination(isPresented:destination:) - it's accessible in tests even without using an async inspection.
I'm trying to reach the navigation destination view in my tests, but it's not accessible.
The first two tests are passing. The last one (test_navigationDestinationView_isAccessible) - is not. I get this error: "test_navigationDestinationView_isAccessible(): XCTAssertNoThrow failed: threw error "Search did not find a match".
Please let me know if I'm missing something.
The text was updated successfully, but these errors were encountered: