Watch and alert that triggers only if the body contains a specific class #3198
Replies: 2 comments 2 replies
-
2 seconds in ChatGPT, the answer is |
Beta Was this translation helpful? Give feedback.
-
@dgtlmoon thanks! The XPath condition makes sense for detecting the presence of the test class — but my concern is that since the A/B test runs at a 50/50 split, the control version (which doesn't include the class) will be shown half the time, and in those cases, the check will fail and potentially trigger a false alert. What I’m trying to achieve is a watch that only runs when the test variant is active, so that it doesn’t flag anything as missing when the control is shown. Do you know if there’s a way to configure to conditionally run the check only when that specific class is present, rather than running every time and failing half the time by design? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
To verify only when the A/B test is running, would it be possible to set up a watch and alert that triggers only if the body contains a specific class associated with the experiment?
Since the experiment runs at a 50/50 split, sometimes the control version is shown and other times the test version. Ideally, I’d like the check to run only when the test variant is active. If yes please help with the configuration.
Beta Was this translation helpful? Give feedback.
All reactions