Ok, so we've learn how to sign in to Github.
But it's not a test until we've done some validation to ensure that the application is working as designed. Since this password is wrong, we should expect to be shown an appriopriate message. We can use
I.see to test that like this:
I.goTo("https://www.github.com") I.click("Sign in") I.fill("Email", "email@example.com") I.fill("Password", "supersecretpassword") I.click("Sign in") I.see("Incorrect username or password.")
And that's all you need to know to get started with setting up some basic tests for your own app!
When you are ready, click Next below.