mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-17 23:53:25 +02:00
protractor.getInstance() -> browser
This commit is contained in:
@@ -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')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user