--timeout-multiplier 20
No idea if we should do this, but at last we have some green in the checklist
Is there anyway we could get a screenshot from acceptance tests on failure? This would help a lot debugging and detecting false negative from real bugs.
Is there anyway we could get a screenshot from acceptance tests on failure? This would help a lot debugging and detecting false negative from real bugs.
I have been wanting to add that for ages, but unfortunately there is no such feature right now.
My main question would be, where to store the screenshots or videos when the acceptance tests fail in CI? Do we have any storage where they could be uploaded (even if they get wipped out after some days)?
My main question would be, where to store the screenshots or videos when the acceptance tests fail in CI? Do we have any storage where they could be uploaded (even if they get wipped out after some days)?
Can I be as bold as suggesting we store those on Nextcloud? :nerd_face:
I have been wanting to add that for ages, but unfortunately there is no such feature right now.
what is the idea here ? store the whole video and keep timestamp somewhere or only the last few minutes before the issue ?
I have been wanting to add that for ages, but unfortunately there is no such feature right now.
what is the idea here ? store the whole video and keep timestamp somewhere or only the last few minutes before the issue ?
Each test scenario is fully isolated, so the idea would be to start a recording when the scenario starts and stop it when the scenario ends. If the test failed the video is uploaded somewhere and a link is added to the CI output, and if not the video is discarded (of course in some cases it would be good to have a video even if it worked in case it was a false positive, but... for the common CI case we could ignore that and leave that as an option when locally run).
Alternatively it would be possible to take screenshots on each step, but that would not tell the full history. On the other hand, screenshots may help to check the UI state when something failed, as in the case of a video the browser might shut down too fast to see anything useful. So maybe the best would be to have both.