Hi all -
In oTree 3.3.11, I'm trying to test some software with browser bots, but I'm running into a strange issue:
(1) my code print statements (inside my models.py) are printing that a group field has been set to a value (and prints that value) at the time I expect.
(2) then later when my tests.py bots get to a spot where they need to test that value, print statements there show the value as None - this causes the bots to head to the wrong next page (they would be yielding an extra page before the Results page based on the value of this field)
(3) While the browser bots are showing the AssertionError when they're on the wrong page, the oTree session's data tab shows that this group field has the value printed out in models.py before, and is not None
And finally: this tests.py code does not have this problem running command-line bots. Just browser bots.
Any ideas why command-line bot code would work, but browser bots would have this field value disappearing when the rest of oTree sees it has had its value assigned?
Thanks,
--Chris