public void WillValidateCorrectAnswer() { app.WaitForElement(x => x.Text("Colours")); app.Screenshot("Given I'm on the vocab list"); app.Tap(x => x.Text("Colours")); app.Screenshot("Then I select Colours"); app.WaitForElement(x => x.Class("WordView")); app.Screenshot("And then I memorise the new word"); app.WaitForElement(x => x.Text("Skip")); app.Screenshot("An then I start the start"); //Find the current word value! app.Tap(x => x.Text("k")); app.Tap(x => x.Text("l")); app.Tap(x => x.Text("e")); app.Tap(x => x.Text("u")); app.Tap(x => x.Text("r")); app.Screenshot("And then I enter the text values"); app.WaitForElement(x => x.Text("Next")); app.Screenshot("And then I click Next"); app.Tap(x => x.Text("Back")); app.Screenshot("And then I go back to the vocab list"); }
public void SignIn() { app.WaitForElement(x => x.Text("Connect to Facebook")); app.Screenshot("I launch the app and should see the welcome view"); app.Tap(x => x.Text("Connect to Facebook")); app.Screenshot("Then I should see the Facebook Login view"); var r = app.Query(x => x.WebView().XPath("//*[.=’ELEMENT_NODE']")); app.Repl(); }