AnsweredAssumed Answered

Errors During Automated Testing

Question asked by tpkroger on Nov 25, 2013
Our company has been having some trouble running automated tests on the Alfresco workflow. At random times, the following two errors occur:

-On the My Tasks page, no workflows load and a red bar with the text 'Error Loading Page' is displayed.

-In the document library, no documents load and a red bar displaying '10220021 Failed to execute script 'classpath*:alfreco/site-webscripts/org/alfresco/components/documentlibrary/data/surf-doclist.get.js': 10220020 SyntaxError: unterminated string literal (file:/var/lib/tomcat6/webapps/share/WEB-IN/classes/alfresco/site-webscripts/org/alfresco/components/documents/documentlibrary/data/surf-doclist.get.js#911(eval)#234)'

We've encountered the first error before and were able to overcome it by adding more and more wait time to the tests (we're up to two minutes). The second error is new. Neither generates during manual testing of the workflow.

Any insights are greatly appreciated.

Outcomes