-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspec.js
More file actions
16 lines (16 loc) · 754 Bytes
/
Copy pathspec.js
File metadata and controls
16 lines (16 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
describe('Testing SNAP product',function(){
// beforeEach();
it('Login to the application',function(){
browser.get("http://snappautomain.inqa.soti.net");
element(by.model("login.username")).sendKeys('himanshudhar6@gmail.com');
element(by.model("login.password")).sendKeys('Soti1234');
element(by.xpath("//div[@class='login-frm-btn']/button[@type='submit']")).click();
var EC = protractor.ExpectedConditions;
var toFind = element(by.xpath("//li[@ng-repeat='item in sideBarMenu.Items']/parent::ul"));
var isVisible = EC.visibilityOf(toFind);
browser.wait(isVisible,5000);
});
it('Login to the application',function(){
browser.get("http://snappautomain.inqa.soti.net");
});
});