Common functional tests random failures

Functional tests are failing randomly from time to time. Below you can find the list of common failures which are caused randomly. In such case the job with functional tests should be built again.


LpSituationError message
1.Trying to log out, when browser didn't manage to scroll top.

Element <button class="navbar-right ng-binding" ng-click="vm.logout()">...</button> is not clickable at point (956,
18). Other element would receive the click: <div class="notification-container">...</div>

2.Trying to proceed to requisition through e.g. view requisitions table, when there are many  requisitions and it takes quite much time for a browser to check each of them.Function timed out after 170000 milliseconds
3.When there was error in previous scenario of the same test and user did not manage to log out.Element (".auth-modal") still not visible after 45000ms
4.When one test failed and did not manage to complete its target action, like submitting a requisition but not authorizing it, user of the same facility in another test cannot submit a requisition for new period, because the input values are already completed.An element could not be located on the page using the given search parameters ("//td[normalize-space(text())='Levora']/parent::tr/td[position()='0']/div/input").
5.When one test failed and did not manage to complete its target action, like submitting a requisition, user of the same facility in another test cannot see a desired status of the requisition.Element ("//table//*//following-sibling::td[normalize-space(text())="Family Planning"]//following-sibling::td//following-sibling::td[normalize-space(text())="2018Q1"]//following-sibling::td//following-sibling::td//following-sibling::td//following-sibling::td[normalize-space(text())="Submitted"]//following-sibling::td[count(//table//th[normalize-space(text())="Actions"]//preceding-sibling::*) + 1 - 7]//button[normalize-space(text())="View Requisition"] | //input[normalize-space(@value)="View Requisition"]") still not visible after 45000ms


OpenLMIS: the global initiative for powerful LMIS software