Skip to content

Instantly share code, notes, and snippets.

@llaine
Created August 3, 2017 09:25
Show Gist options
  • Save llaine/3dd0dd02caeb82c885a289395acb49fc to your computer and use it in GitHub Desktop.
Save llaine/3dd0dd02caeb82c885a289395acb49fc to your computer and use it in GitHub Desktop.
Expect
expect(element(by.id('UniqueId204'))).toBeVisible();
expect(element(by.id('UniqueId205'))).toBeNotVisible();
expect(element(by.id('UniqueId205'))).toExist();
expect(element(by.id('UniqueId204'))).toHaveText('I contain some text');
expect(element(by.text('I contain some text'))).toHaveId('UniqueId204');
expect(element(by.id('UniqueId533'))).toHaveValue('0');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment