protractor.getInstance() -> browser

This commit is contained in:
Vishal Banthia
2015-11-25 02:05:22 +09:00
parent ddc24e5dc5
commit 6ca08d7b90
8 changed files with 10 additions and 10 deletions

View File

@@ -9,7 +9,7 @@ describe('Login Page', function () {
it('should login with method: "' + loginPage.login.method + '"', function () {
loginPage.doLogin().then(function () {
browser.getLocationAbsUrl().then(function (newUrl) {
expect(newUrl).toBe(protractor.getInstance().baseUrl + 'devices')
expect(newUrl).toBe(browser.baseUrl + 'devices')
})
})
})