Created
March 12, 2020 14:15
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
/* The locator that returns the expected element for the specified class */ | |
var even = browser.findElement(by.className(positive)); | |
expect(even.getText()).toBe('5'); | |
// making use of our locator in our test script // | |
expect(browser.findElement(by.className('even'))).toBe('-6'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment