Test do not run full surveys
djmoffat opened this issue · 7 comments
Currently, on the latest pull, none of the surveys work (Google Chrome)
The first survey question appears, then skips the entire rest of the survey
This happens with several example tests, including APE, AB and ABX examples.
I’ve tried debugging this, and in core.js it looks like stateIndex
is triggering advanceState()
on each next
click.
I think this is wrong, but I can’t work out how to fix it.
I've also had this issue using Chrome, Firefox and Safari.
I have also tried using the Conditions to force moving between different questions, but this doesn't solve the issue.
Brecht suggested trying an older version during an email conversation.
@zygurt That is exactly what I have been doing.
@BrechtDeMan perhaps we should roll back the main branch, to that the main branch is always fully working, and put the latest changes back onto a dev branch, if we are not able to build a fix to this.
OK, I'm looking at this now! To confirm, this is master branch v1.2.3
@nickjillings Yes, the latest master branch.
I did try to look into rolling back the master branch, and moving the latest push to a separate branch, but I could not work out how to do it. I think I need to learn more git!
This seems fixed to me now. I'm not sure how that bug got in there but @djmoffat was right, it was incorrectly thinking the state was post survey due to a rogue state movement.
Seems to be working now in Chrome + FF.
Should properly test these things, just saw it breaks if no survey elements. Hang on!