Skip to content

Instantly share code, notes, and snippets.

@dannyshain
Created June 18, 2021 20:02
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 dannyshain/d948772a15c1296faf2bf60045b83727 to your computer and use it in GitHub Desktop.
Save dannyshain/d948772a15c1296faf2bf60045b83727 to your computer and use it in GitHub Desktop.
describe('Webdriver.io + Jasmine', () => {
it('should select an ingredient from the list', async () => {
await browser.url(`https://kitchen.applitools.com/ingredients/select`);
await (await $('#spices-select-single')).selectByAttribute('value', 'garlic');
expect(await (await $('#spices-select-single')).getValue()).toBe('garlic');
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment