Created
June 18, 2021 19:57
-
-
Save dannyshain/21dfcb950fda71bd2d526363e96e57e8 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('Protractor', function() { | |
it('should select an ingredient from the list', function() { | |
browser.waitForAngularEnabled(false); | |
browser.get('https://kitchen.applitools.com/ingredients/select'); | |
element(by.id('spices-select-single')).click(); | |
element(by.css("#spices-select-single [value='garlic']")).click(); | |
expect(element(by.id('spices-select-single')).getAttribute('value')).toEqual('garlic'); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment