Hello I am trying to get a little more information...
# ask-questions
s
Hello I am trying to get a little more information on an issue i've run into with GB and cypress automated tests When an FF was set to
Rollout Rule
even when using
cy.setCookie()
it never received the FF variation - it works on localhost, but only on the cypress runner (in chrome) it would always return the control. You could even find the cookie with a value of
1
(0 is control, 1 is treatment) Once we switched the FF to
Experiment
using
cy.setCookie()
would see the FF variation and setting to control would get control. Has anyone else run into this before? is GB aware of automated software?
a
We use another tool (for now) but we prefer to intercept the response from the ab testing server and mock it with the value we expect for the test.
s
Do you have any examples of this? How do you handle hundreds of experiments? We are currently intercepting and mocking to set everything to control, then using the
cy.setCookie()
to trigger an experiment - which works as expected when the FF is set to
Experiment
just not when using
Rollout Rule