As ComposableNavigator heavily relies on SwiftUI to work as expected, we should add UI tests to the example app to check if all navigation actions work as expected.
Flows to cover:
--> Adding elements
Root -> Push
Root -> Sheet
Root -> Push -> Push
Root -> Push -> Sheet
Root -> Sheet -> Push
Root -> Sheet -> Sheet
--> Removing elements
Root -> Push
[Remove Push]
Root
As ComposableNavigator heavily relies on SwiftUI to work as expected, we should add UI tests to the example app to check if all navigation actions work as expected.
Flows to cover:
--> Adding elements Root -> Push Root -> Sheet
Root -> Push -> Push Root -> Push -> Sheet
Root -> Sheet -> Push Root -> Sheet -> Sheet
--> Removing elements Root -> Push [Remove Push] Root
Root -> Sheet [Remove Sheet] Root
Root -> Push -> Push [Remove Push] Root -> Push
Root -> Push -> Sheet [Remove Sheet] Root -> Push
Root -> Sheet -> Push [Remove Push] Root -> Sheet
Root -> Sheet -> Sheet [Remove Sheet] Root -> Sheet
--> Replacing paths (that's a lot of permutations) Root -> Push Root -> Sheet Root -> Push -> Push Root -> Push -> Sheet Root -> Sheet -> Push Root -> Sheet -> Sheet [Replace path] Root -> Push Root -> Sheet Root -> Push -> Push Root -> Push -> Sheet Root -> Sheet -> Push Root -> Sheet -> Sheet