|
|
|
@ -7,6 +7,7 @@ describe('Lemonldap::NG handler', function() { |
|
|
|
|
browser.driver.get('http://test1.example.com:' + process.env.TESTWEBSERVERPORT + '/'); |
|
|
|
|
expect(browser.driver.findElement(by.id('v-Auth-User')).getText()).toEqual('dwho'); |
|
|
|
|
expect(browser.driver.findElement(by.id('v-Ip-Addr')).getText()).toMatch(/^\d+\.\d+\.\d+\.\d+$/); |
|
|
|
|
expect(browser.driver.findElement(by.id('v-Macro-Uri')).getText()).toMatch(/\w/); |
|
|
|
|
}); |
|
|
|
|
it('should display custom functions results', function() { |
|
|
|
|
expect(browser.driver.findElement(by.id('v-Hello')).getText()).toEqual('Hello'); |
|
|
|
@ -15,4 +16,4 @@ describe('Lemonldap::NG handler', function() { |
|
|
|
|
expect(browser.driver.findElement(by.id('v-Base64')).getText()).toEqual('YTpi'); |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|