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
able-architect-98002
07/03/2024, 11:47 PM
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
square-rainbow-21650
07/08/2024, 1:38 PM
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