From 2ec79b766d51c092769b193f2b329c66b87287da Mon Sep 17 00:00:00 2001 From: Panu Horsmalahti Date: Tue, 25 Mar 2014 15:11:14 +0200 Subject: [PATCH] Update angular-protractor-tests.ts Fix test to correspond with the new, correct type for getLocationAbsUrl. --- angular-protractor/angular-protractor-tests.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/angular-protractor/angular-protractor-tests.ts b/angular-protractor/angular-protractor-tests.ts index 2c8e72f07d..2ed627af84 100644 --- a/angular-protractor/angular-protractor-tests.ts +++ b/angular-protractor/angular-protractor-tests.ts @@ -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'); -} \ No newline at end of file +}