Job detail

Removed empty value from the status drop-down on the host event viewer. Selecting the empty value caused a second empty value to appear. All empty values now gone. User can only choose valid status options. Default choice is All.
This commit is contained in:
Chris Houseknecht
2014-08-11 15:57:06 -04:00
parent 9e134ba8b9
commit 50382890e5
3 changed files with 39 additions and 21 deletions

View File

@@ -7,17 +7,22 @@
*
*/
/* global describe, it, expect, browser */
/* global describe, it, expect, by, browser, element, beforeEach */
describe('E2E:CheckLicense', function() {
it('should present login dialog', function() {
beforeEach(function() {
browser.get('http://localhost:8013');
var msg = $('#login-modal .login-alert:eq(1)');
expect(msg.getText()).toMatch(/Please sign in/);
});
/*element(by.model('login_username')).sendKeys('admin');
element(by.model('login_password')).sendKeys('password');
element(by.id('login-button')).click();*/
it('should present login dialog', function() {
var msg = element.all(by.css('#login-modal .login-alert'));
expect(msg.get(0).getText()).toMatch(/Please sign in/);
});
it('should login', function() {
element(by.model('login_username')).sendKeys('admin');
element(by.model('login_password')).sendKeys('password01!');
element(by.id('login-button')).click();
});
});