So I have my tests running each morning at 3 AM aprox. I have some tests that are failing with the same error which is:
03:12:18.785 WARNING - http://servertest/user/account/login - This page includes a password or credit card input in a non-secure context. A warning has been added to the URL bar. For more information, see https://goo. 03:12:53.997 WARNING - http://servertest/user/account/login - This page includes a password or credit card input in a non-secure context. A warning has been added to the URL bar. For more information, see https://goo. 03:13:18.146 SEVERE - http://servertest/portal/messages/team/id/46/view/onldgdl7g7SrCYl93uyGVFon1yfJP6OGpRpyiJmpQUYuoXKk - [DOM] Found 2 elements with non-unique id #undefined_hint: (More info: https://goo) %o %o 03:13:25.395 SEVERE - http://servertest/portal/messages/exportForKW/ref/onldgdl7g7SrCYl93uyGVFon1yfJP6OGpRpyiJmpQUYuoXKk/ajax/1 - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
I have tried to change the id's where is it filling the user name and password as I can see on the screenshot that the last part of the password is sometimes filled in the username filed, after the user name was already filled in.
$I->wantTo('Search for a caller, go through security, save it and add notes');
//Log in
$I->amOnPage('/user/account/login');
$I->fillField("UserLogin[username]", "");
$I->fillField("UserLogin[password]", "");
$I->click('Log In');
$I->wait(2);
$I->waitForElementVisible('#AdminMemberGrid_status', 30);
//Access the call tab
$I->click('//*[@id="secondaryMenu"]/li[1]/a');
$I->waitForText('Search for caller :');```
Here the popup where I wait for text search for caller and pick up transferred call is not visible, in the screenshot it barley appears in front of the first page when I click the Call tab $I->click('//*[@id="secondaryMenu"]/li[1]/a');
I am expecting to see the text and fill the fields, adding a longer wait won't make any difference.
The other tests pass, and they have the same code.
Clicking on the google links will redirect me to the security blog, online google security blog: 2016/09/moving-towards-more-secure-web.html
Aucun commentaire:
Enregistrer un commentaire