Update angular-protractor-tests.ts

Fix test to correspond with the new, correct type for getLocationAbsUrl.
This commit is contained in:
Panu Horsmalahti 2014-03-25 15:11:14 +02:00
parent bc0028b45a
commit 2ec79b766d

View File

@ -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');
}
}