Below is my code for earlGrey test
EarlGrey.select(elementWithMatcher: grey_accessibilityID("userNameTextField"))
.atIndex(0).perform(grey_typeText("freshaccount@dayrep.com"))
EarlGrey.select(elementWithMatcher: grey_accessibilityID("passwordTextField"))
.atIndex(1).perform(grey_typeText("Flower@123"))
EarlGrey.select(elementWithMatcher: grey_accessibilityID("signIn")).atIndex(2)
.perform(grey_tap())
/////////////////This button on the other view controller i redirect after login////////////////////////////////
EarlGrey.select(elementWithMatcher: grey_accessibilityID("menuButton"))
.perform(grey_tap())
The view hierarchy does not show my navigated view.How can in achieve i using earl grey ui in swift