UI tests might take a screenshot of a different test / test suite if there's a JS error or so #8033
Labels
answered
For when a question was asked and we referred to forum or answered it.
Bug
For errors / faults / flaws / inconsistencies etc.
c: Tests & QA
For issues related to automated tests or making it easier to QA & test issues.
Milestone
It is hard to explain but I'll do my best. In this PR I added a test to
ActionsDataTable
: https://github.com/piwik/piwik/pull/8018/files#diff-be9457c4f00490761508a5b7d36a8140R95There under circumstances it was possible that a JS error happens which causes the test to "pause/wait" for like 2 minutes or so. Not quite sure. Meanwhile the next suits
BarGraph
started which caused for my tests inActionsDataTable
to be taken a screenshot of BarGraph see http://builds-artifacts.piwik.org/ui-tests.master/13001.7/processed-ui-screenshots/ActionsDataTable_auto_expand.png . It took me a long time to figure out what is going on since it worked for me locally and there's not really a way that it could show a bar graph for the PageURLs report etc.If there's a JS error or so can we maybe report this error immediately and not wait? But maybe take a screenshot immediately though to better be able to analyze it?
The text was updated successfully, but these errors were encountered: