mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Update angular-protractor-tests.ts
Fix test to correspond with the new, correct type for getLocationAbsUrl.
This commit is contained in:
parent
bc0028b45a
commit
2ec79b766d
@ -167,7 +167,7 @@ function TestProtractor() {
|
||||
|
||||
var webElement: webdriver.WebElement = ptor.wrapWebElement(new webdriver.WebElement(driver, 'id'));
|
||||
|
||||
var locationAbsUrl: string = ptor.getLocationAbsUrl();
|
||||
var locationAbsUrl: webdriver.promise.Promise = ptor.getLocationAbsUrl();
|
||||
}
|
||||
|
||||
function TestElement() {
|
||||
@ -239,4 +239,4 @@ function TestWebElements() {
|
||||
webElement = webElement.findElement(by.id('id')).$('.class');
|
||||
promise = webElement.findElement(by.id('id')).$$('.class');
|
||||
promise = webElement.findElement(by.id('id')).evaluate('something');
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user