Skip to content

Instantly share code, notes, and snippets.

@joelgriffith
Created July 11, 2017 17:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joelgriffith/34c94159e7449d5be5c10bc33391d3a1 to your computer and use it in GitHub Desktop.
Save joelgriffith/34c94159e7449d5be5c10bc33391d3a1 to your computer and use it in GitHub Desktop.
Validating username error with Navalia LB
// Register the work against a Navalia instance
// returning so the test can signal completetion:
it('should have a username input', () => {
return navalia.run((chrome) => chrome.goto('http://localhost:3000/')
.then(() => chrome.exists('[data-test="username"]'))
.then((exists) => expect(exists).toEqual(true)));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment