/
Common functional tests random failures
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.
Lp | Situation | Error 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, |
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 |
, multiple selections available,
Related content
2018-11-08 Meeting notes - Functional test workshop
2018-11-08 Meeting notes - Functional test workshop
More like this
2018-11-15 Functional test & tracking improvements from manual testing
2018-11-15 Functional test & tracking improvements from manual testing
More like this
Regression Testing guide and improvements
Regression Testing guide and improvements
More like this
1122- No state loss when re-authenticating
1122- No state loss when re-authenticating
More like this
Automated Testing Analysis
Automated Testing Analysis
More like this
1520: Offline check doesn't always work properly when reopening the page
1520: Offline check doesn't always work properly when reopening the page
More like this
OpenLMIS: the global initiative for powerful LMIS software