Skip to content

Instantly share code, notes, and snippets.

@piecyk
Created February 6, 2014 09:37
Show Gist options
  • Save piecyk/8841130 to your computer and use it in GitHub Desktop.
Save piecyk/8841130 to your computer and use it in GitHub Desktop.
it('user should filter results by advance con e-mail', function() {
var s = new tools.commonPageObj();
s.get();
s.setSearchInput('Julie');
s.doGlobalSearch();
s.openBasicPanel();
s.isModalDisplayed('.modal-rw-basic', true);
s.isAdvanceConBtnActive(false);
s.selectTemlateBasicPanel('Person');
s.doUpdateSearch();
s.isAdvanceConBtnActive(true);
s.openAdvancePanel();
s.addConditionAdvancePanel();
s.selectAdvancePanelLeft('E-Mail');
s.selectAdvancePanelOpertor('equal to');
s.setInputAdvancePanelRight('Julie.Albert@aikon.com');
s.doUpdateSearch();
s.checkResultCountByTotalLabel(1);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment