Created
June 18, 2021 20:02
-
-
Save dannyshain/d948772a15c1296faf2bf60045b83727 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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