UNPKG

vwo-fme-sdk-e2e-test-settings-n-cases

Version:
2,106 lines 173 kB
{ "and_operator": { "single_and_operator_matching": { "dsl": { "and": [{ "custom_variable": { "eq": "eq_value" } }] }, "expectation": true, "customVariables": { "eq": "eq_value" } }, "single_and_operator_case_mismatch": { "dsl": { "and": [{ "custom_variable": { "eq": "eq_value" } }] }, "expectation": false, "customVariables": { "eq": "Eq_Value" } }, "multiple_and_operator2": { "dsl": { "and": [{ "and": [{ "and": [{ "and": [{ "and": [{ "custom_variable": { "eq": "eq_value" } }] }] }] }] }] }, "expectation": true, "customVariables": { "eq": "eq_value" } }, "multiple_and_operator_with_all_incorrect_correct_values": { "dsl": { "and": [{ "or": [{ "custom_variable": { "eq": "eq_value" } }] }, { "or": [{ "custom_variable": { "reg": "regex(myregex+)" } }] }] }, "expectation": false, "customVariables": { "eq": "wrong", "reg": "wrong" } }, "multiple_and_operator_with_single_correct_value2": { "dsl": { "and": [{ "or": [{ "custom_variable": { "eq": "eq_value" } }] }, { "or": [{ "custom_variable": { "reg": "regex(myregex+)" } }] }] }, "expectation": false, "customVariables": { "eq": "wrong", "reg": "myregexxxxxx" } }, "multiple_and_operator_with_all_correct_values": { "dsl": { "and": [{ "or": [{ "custom_variable": { "eq": "eq_value" } }] }, { "or": [{ "custom_variable": { "reg": "regex(myregex+)" } }] }] }, "expectation": true, "customVariables": { "eq": "eq_value", "reg": "myregexxxxxx" } }, "single_and_operator_mismatch": { "dsl": { "and": [{ "custom_variable": { "eq": "eq_value" } }] }, "expectation": false, "customVariables": { "a": "n_eq_value" } }, "multiple_and_operator_with_single_correct_value": { "dsl": { "and": [{ "or": [{ "custom_variable": { "eq": "eq_value" } }] }, { "or": [{ "custom_variable": { "reg": "regex(myregex+)" } }] }] }, "expectation": false, "customVariables": { "eq": "eq_value", "reg": "wrong" } } }, "case_insensitive_equality_operand": { "exact_match_with_special_characters": { "dsl": { "or": [{ "custom_variable": { "eq": "lower(f25u!v@b#k$6%9^f&o*v(m)w_-=+s,./`(*&^%$#@!)" } }] }, "expectation": true, "customVariables": { "eq": "f25u!v@b#k$6%9^f&o*v(m)w_-=+s,./`(*&^%$#@!" } }, "float_data_type_mismatch": { "dsl": { "or": [{ "custom_variable": { "eq": "lower(123.456)" } }] }, "expectation": false, "customVariables": { "eq": 123 } }, "numeric_data_type_mismatch": { "dsl": { "or": [{ "custom_variable": { "eq": "lower(123)" } }] }, "expectation": false, "customVariables": { "eq": 12 } }, "float_data_type_mismatch2": { "dsl": { "or": [{ "custom_variable": { "eq": "lower(123.456)" } }] }, "expectation": false, "customVariables": { "eq": 123.4567 } }, "incorrect_key": { "dsl": { "or": [{ "custom_variable": { "eq": "lower(something)" } }] }, "expectation": false, "customVariables": { "neq": "something" } }, "incorrect_key_case": { "dsl": { "or": [{ "custom_variable": { "eq": "lower(something)" } }] }, "expectation": false, "customVariables": { "EQ": "something" } }, "single_char": { "dsl": { "or": [{ "custom_variable": { "eq": "lower(zzsomethingzz)" } }] }, "expectation": false, "customVariables": { "eq": "i" } }, "char_data_type_case_mismatch2": { "dsl": { "or": [{ "custom_variable": { "eq": "lower(e)" } }] }, "expectation": true, "customVariables": { "eq": "E" } }, "case_mismatch": { "dsl": { "or": [{ "custom_variable": { "eq": "lower(something)" } }] }, "expectation": true, "customVariables": { "eq": "Something" } }, "exact_match_with_spaces": { "dsl": { "or": [{ "custom_variable": { "eq": "lower(nice to see you. will YOU be my Friend?)" } }] }, "expectation": true, "customVariables": { "eq": "nice to see you. will YOU be my Friend?" } }, "stringified_float": { "dsl": { "or": [{ "custom_variable": { "eq": "lower(123.456)" } }] }, "expectation": true, "customVariables": { "eq": "123.456000000" } }, "char_data_type_case_mismatch": { "dsl": { "or": [{ "custom_variable": { "eq": "lower(E)" } }] }, "expectation": true, "customVariables": { "eq": "e" } }, "char_data_type": { "dsl": { "or": [{ "custom_variable": { "eq": "lower(E)" } }] }, "expectation": true, "customVariables": { "eq": "E" } }, "boolean_data_type_mismatch2": { "dsl": { "or": [{ "custom_variable": { "eq": "lower(true)" } }] }, "expectation": false, "customVariables": { "eq": false } }, "boolean_data_type": { "dsl": { "or": [{ "custom_variable": { "eq": "lower(true)" } }] }, "expectation": true, "customVariables": { "eq": true } }, "numeric_data_type_mismatch2": { "dsl": { "or": [{ "custom_variable": { "eq": "lower(123)" } }] }, "expectation": true, "customVariables": { "eq": 123 } }, "mismatch": { "dsl": { "or": [{ "custom_variable": { "eq": "lower(something)" } }] }, "expectation": false, "customVariables": { "eq": "notsomething" } }, "numeric_data_type": { "dsl": { "or": [{ "custom_variable": { "eq": "lower(123)" } }] }, "expectation": true, "customVariables": { "eq": 123 } }, "exact_match": { "dsl": { "or": [{ "custom_variable": { "eq": "lower(something)" } }] }, "expectation": true, "customVariables": { "eq": "something" } }, "part_of_text": { "dsl": { "or": [{ "custom_variable": { "eq": "lower(zzsomethingzz)" } }] }, "expectation": false, "customVariables": { "eq": "something" } }, "exact_match_with_upper_case": { "dsl": { "or": [{ "custom_variable": { "eq": "lower(HgUvshFRjsbTnvsdiUFFTGHFHGvDRT.YGHGH)" } }] }, "expectation": true, "customVariables": { "eq": "HgUvshFRjsbTnvsdiUFFTGHFHGvDRT.YGHGH" } }, "null_value_provided": { "dsl": { "or": [{ "custom_variable": { "eq": "lower(something)" } }] }, "expectation": false, "customVariables": { "eq": null } }, "boolean_data_type_mismatch": { "dsl": { "or": [{ "custom_variable": { "eq": "lower(false)" } }] }, "expectation": false, "customVariables": { "eq": true } }, "no_value_provided": { "dsl": { "or": [{ "custom_variable": { "eq": "lower(something)" } }] }, "expectation": false, "customVariables": { "eq": "" } }, "missingkey_value": { "dsl": { "or": [{ "custom_variable": { "eq": "lower(something)" } }] }, "expectation": false, "customVariables": {} }, "stringified_float3": { "dsl": { "or": [{ "custom_variable": { "eq": "lower(123.4560000)" } }] }, "expectation": true, "customVariables": { "eq": 123.456 } }, "stringified_float2": { "dsl": { "or": [{ "custom_variable": { "eq": "lower(123.0)" } }] }, "expectation": true, "customVariables": { "eq": 123 } }, "case_mismatch2": { "dsl": { "or": [{ "custom_variable": { "eq": "lower(something)" } }] }, "expectation": true, "customVariables": { "eq": "SOMETHINg" } }, "float_data_type_extra_decimal_zeros": { "dsl": { "or": [{ "custom_variable": { "eq": "lower(123.456)" } }] }, "expectation": true, "customVariables": { "eq": 123.456 } }, "boolean_data_type3": { "dsl": { "or": [{ "custom_variable": { "eq": "lower(True)" } }] }, "expectation": true, "customVariables": { "eq": true } }, "boolean_data_type2": { "dsl": { "or": [{ "custom_variable": { "eq": "lower(false)" } }] }, "expectation": true, "customVariables": { "eq": false } }, "float_data_type": { "dsl": { "or": [{ "custom_variable": { "eq": "lower(123.456)" } }] }, "expectation": true, "customVariables": { "eq": 123.456 } } }, "complex_and_ors": { "complex_dsl_1": { "dsl": { "or": [{ "or": [{ "and": [{ "or": [{ "custom_variable": { "start_with": "wildcard(my_start_with_val*)" } }] }, { "not": { "or": [{ "custom_variable": { "neq": "not_eq_value" } }] } }] }, { "or": [{ "custom_variable": { "contain": "wildcard(*my_contain_val*)" } }] }] }, { "and": [{ "or": [{ "custom_variable": { "eq": "eq_value" } }] }, { "or": [{ "custom_variable": { "reg": "regex(myregex+)" } }] }] }] }, "expectation": true, "customVariables": { "reg": 1, "contain": 1, "eq": 1, "start_with": "my_start_with_valzzzzzzzzzzzzzzzz", "neq": 1 } }, "complex_dsl_2": { "dsl": { "or": [{ "or": [{ "and": [{ "or": [{ "custom_variable": { "start_with": "wildcard(my_start_with_val*)" } }] }, { "not": { "or": [{ "custom_variable": { "neq": "not_eq_value" } }] } }] }, { "or": [{ "custom_variable": { "contain": "wildcard(*my_contain_val*)" } }] }] }, { "and": [{ "or": [{ "custom_variable": { "eq": "eq_value" } }] }, { "or": [{ "custom_variable": { "reg": "regex(myregex+)" } }] }] }] }, "expectation": false, "customVariables": { "reg": 1, "contain": 1, "eq": 1, "start_with": 1, "neq": "not_eq_value" } }, "complex_dsl_3": { "dsl": { "or": [{ "or": [{ "and": [{ "or": [{ "custom_variable": { "start_with": "wildcard(my_start_with_val*)" } }] }, { "not": { "or": [{ "custom_variable": { "neq": "not_eq_value" } }] } }] }, { "or": [{ "custom_variable": { "contain": "wildcard(*my_contain_val*)" } }] }] }, { "and": [{ "or": [{ "custom_variable": { "eq": "eq_value" } }] }, { "or": [{ "custom_variable": { "reg": "regex(myregex+)" } }] }] }] }, "expectation": true, "customVariables": { "reg": 1, "contain": "zzzzzzmy_contain_valzzzzz", "eq": 1, "start_with": "m1y_1sta1rt_with_val", "neq": false } }, "complex_dsl_4": { "dsl": { "or": [{ "or": [{ "and": [{ "or": [{ "custom_variable": { "start_with": "wildcard(my_start_with_val*)" } }] }, { "not": { "or": [{ "custom_variable": { "neq": "not_eq_value" } }] } }] }, { "or": [{ "custom_variable": { "contain": "wildcard(*my_contain_val*)" } }] }] }, { "and": [{ "or": [{ "custom_variable": { "eq": "eq_value" } }] }, { "or": [{ "custom_variable": { "reg": "regex(myregex+)" } }] }] }] }, "expectation": false, "customVariables": { "reg": 1, "contain": "my_ contain _val", "eq": "eq_value", "start_with": "m1y_1sta1rt_with_val", "neq": null } }, "complex_dsl_5": { "dsl": { "or": [{ "or": [{ "and": [{ "or": [{ "custom_variable": { "start_with": "wildcard(my_start_with_val*)" } }] }, { "not": { "or": [{ "custom_variable": { "neq": "not_eq_value" } }] } }] }, { "or": [{ "custom_variable": { "contain": "wildcard(*my_contain_val*)" } }] }] }, { "and": [{ "or": [{ "custom_variable": { "eq": "eq_value" } }] }, { "or": [{ "custom_variable": { "reg": "regex(myregex+)" } }] }] }] }, "expectation": false, "customVariables": { "reg": "myregexxxxxx", "contain": "my_ contain _val", "eq": "eq__value", "start_with": "m1y_1sta1rt_with_val", "neq": 123 } }, "complex_dsl_6": { "dsl": { "or": [{ "or": [{ "and": [{ "or": [{ "custom_variable": { "start_with": "wildcard(my_start_with_val*)" } }] }, { "not": { "or": [{ "custom_variable": { "neq": "not_eq_value" } }] } }] }, { "or": [{ "custom_variable": { "contain": "wildcard(*my_contain_val*)" } }] }] }, { "and": [{ "or": [{ "custom_variable": { "eq": "eq_value" } }] }, { "or": [{ "custom_variable": { "reg": "regex(myregex+)" } }] }] }] }, "expectation": true, "customVariables": { "reg": "myregexxxxxx", "contain": "my$contain$val", "eq": "eq_value", "start_with": "m1y_1sta1rt_with_val", "neq": "not_matching" } } }, "complex_dsl_1": { "matching_contains_with_value": { "dsl": { "or": [{ "or": [{ "and": [{ "or": [{ "custom_variable": { "start_with": "wildcard(my_start_with_val*)" } }] }, { "not": { "or": [{ "custom_variable": { "neq": "not_eq_value" } }] } }] }, { "or": [{ "custom_variable": { "contain": "wildcard(*my_contain_val*)" } }] }] }, { "and": [{ "or": [{ "custom_variable": { "eq": "eq_value" } }] }, { "or": [{ "custom_variable": { "reg": "regex(myregex+)" } }] }] }] }, "expectation": true, "customVariables": { "reg": 1, "contain": "zzzzzzmy_contain_valzzzzz", "eq": 1, "start_with": "m1y_1sta1rt_with_val", "neq": false } }, "matching_both_start_with_and_not_equal_to_value": { "dsl": { "or": [{ "or": [{ "and": [{ "or": [{ "custom_variable": { "start_with": "wildcard(my_start_with_val*)" } }] }, { "not": { "or": [{ "custom_variable": { "neq": "not_eq_value" } }] } }] }, { "or": [{ "custom_variable": { "contain": "wildcard(*my_contain_val*)" } }] }] }, { "and": [{ "or": [{ "custom_variable": { "eq": "eq_value" } }] }, { "or": [{ "custom_variable": { "reg": "regex(myregex+)" } }] }] }] }, "expectation": false, "customVariables": { "reg": 1, "contain": 1, "eq": 1, "start_with": "my_start_with_valzzzzzzzzzzzzzzzz", "neq": "not_eq_value" } }, "matching_not_equal_to_value": { "dsl": { "or": [{ "or": [{ "and": [{ "or": [{ "custom_variable": { "start_with": "wildcard(my_start_with_val*)" } }] }, { "not": { "or": [{ "custom_variable": { "neq": "not_eq_value" } }] } }] }, { "or": [{ "custom_variable": { "contain": "wildcard(*my_contain_val*)" } }] }] }, { "and": [{ "or": [{ "custom_variable": { "eq": "eq_value" } }] }, { "or": [{ "custom_variable": { "reg": "regex(myregex+)" } }] }] }] }, "expectation": false, "customVariables": { "reg": 1, "contain": 1, "eq": 1, "start_with": 1, "neq": "not_eq_value" } }, "matching_start_with_value": { "dsl": { "or": [{ "or": [{ "and": [{ "or": [{ "custom_variable": { "start_with": "wildcard(my_start_with_val*)" } }] }, { "not": { "or": [{ "custom_variable": { "neq": "not_eq_value" } }] } }] }, { "or": [{ "custom_variable": { "contain": "wildcard(*my_contain_val*)" } }] }] }, { "and": [{ "or": [{ "custom_variable": { "eq": "eq_value" } }] }, { "or": [{ "custom_variable": { "reg": "regex(myregex+)" } }] }] }] }, "expectation": true, "customVariables": { "reg": 1, "contain": 1, "eq": 1, "start_with": "my_start_with_valzzzzzzzzzzzzzzzz", "neq": 1 } }, "matching_regex_value": { "dsl": { "or": [{ "or": [{ "and": [{ "or": [{ "custom_variable": { "start_with": "wildcard(my_start_with_val*)" } }] }, { "not": { "or": [{ "custom_variable": { "neq": "not_eq_value" } }] } }] }, { "or": [{ "custom_variable": { "contain": "wildcard(*my_contain_val*)" } }] }] }, { "and": [{ "or": [{ "custom_variable": { "eq": "eq_value" } }] }, { "or": [{ "custom_variable": { "reg": "regex(myregex+)" } }] }] }] }, "expectation": false, "customVariables": { "reg": "myregexxxxxx", "contain": "my_ contain _val", "eq": "eq__value", "start_with": "m1y_1sta1rt_with_val", "neq": 123 } }, "matching_both_equal_to_and_regex_value": { "dsl": { "or": [{ "or": [{ "and": [{ "or": [{ "custom_variable": { "start_with": "wildcard(my_start_with_val*)" } }] }, { "not": { "or": [{ "custom_variable": { "neq": "not_eq_value" } }] } }] }, { "or": [{ "custom_variable": { "contain": "wildcard(*my_contain_val*)" } }] }] }, { "and": [{ "or": [{ "custom_variable": { "eq": "eq_value" } }] }, { "or": [{ "custom_variable": { "reg": "regex(myregex+)" } }] }] }] }, "expectation": true, "customVariables": { "reg": "myregexxxxxx", "contain": "my$contain$val", "eq": "eq_value", "start_with": "m1y_1sta1rt_with_val", "neq": "not_matching" } }, "matching_equal_to_value": { "dsl": { "or": [{ "or": [{ "and": [{ "or": [{ "custom_variable": { "start_with": "wildcard(my_start_with_val*)" } }] }, { "not": { "or": [{ "custom_variable": { "neq": "not_eq_value" } }] } }] }, { "or": [{ "custom_variable": { "contain": "wildcard(*my_contain_val*)" } }] }] }, { "and": [{ "or": [{ "custom_variable": { "eq": "eq_value" } }] }, { "or": [{ "custom_variable": { "reg": "regex(myregex+)" } }] }] }] }, "expectation": false, "customVariables": { "reg": 1, "contain": "my_ contain _val", "eq": "eq_value", "start_with": "m1y_1sta1rt_with_val", "neq": null } } }, "complex_dsl_2": { "false4": { "dsl": { "or": [{ "and": [{ "and": [{ "not": { "or": [{ "custom_variable": { "notvwo": "notvwo" } }] } }, { "or": [{ "custom_variable": { "vwovwovwo": "regex(vwovwovwo)" } }] }] }, { "or": [{ "custom_variable": { "regex_vwo": "regex(this\\s+is\\s+vwo)" } }] }] }, { "and": [{ "and": [{ "not": { "or": [{ "custom_variable": { "vwo_not_equal_to": "owv" } }] } }, { "or": [{ "custom_variable": { "vwo_equal_to": "vwo" } }] }] }, { "or": [{ "or": [{ "custom_variable": { "vwo_starts_with": "wildcard(owv vwo*)" } }] }, { "or": [{ "custom_variable": { "vwo_contains": "wildcard(*vwo vwo vwo vwo vwo*)" } }] }] }] }] }, "expectation": false, "customVariables": { "vwo_starts_with": "v owv vwo", "vwo_not_equal_to": "vwo", "vwo_equal_to": "vwo", "notvwo": "vwo", "regex_vwo": "this is vwo", "vwovwovwo": "vwovovwo", "vwo_contains": "vwo" } }, "false1": { "dsl": { "or": [{ "and": [{ "and": [{ "not": { "or": [{ "custom_variable": { "notvwo": "notvwo" } }] } }, { "or": [{ "custom_variable": { "vwovwovwo": "regex(vwovwovwo)" } }] }] }, { "or": [{ "custom_variable": { "regex_vwo": "regex(this\\s+is\\s+vwo)" } }] }] }, { "and": [{ "and": [{ "not": { "or": [{ "custom_variable": { "vwo_not_equal_to": "owv" } }] } }, { "or": [{ "custom_variable": { "vwo_equal_to": "vwo" } }] }] }, { "or": [{ "or": [{ "custom_variable": { "vwo_starts_with": "wildcard(owv vwo*)" } }] }, { "or": [{ "custom_variable": { "vwo_contains": "wildcard(*vwo vwo vwo vwo vwo*)" } }] }] }] }] }, "expectation": false, "customVariables": { "vwo_starts_with": "owv vwo", "vwo_not_equal_to": "vwo", "vwo_equal_to": "vwovwo", "notvwo": "vwo", "regex_vwo": "this is vwo", "vwovwovwo": "vwovw", "vwo_contains": "vwo" } }, "false3": { "dsl": { "or": [{ "and": [{ "and": [{ "not": { "or": [{ "custom_variable": { "notvwo": "notvwo" } }] } }, { "or": [{ "custom_variable": { "vwovwovwo": "regex(vwovwovwo)" } }] }] }, { "or": [{ "custom_variable": { "regex_vwo": "regex(this\\s+is\\s+vwo)" } }] }] }, { "and": [{ "and": [{ "not": { "or": [{ "custom_variable": { "vwo_not_equal_to": "owv" } }] } }, { "or": [{ "custom_variable": { "vwo_equal_to": "vwo" } }] }] }, { "or": [{ "or": [{ "custom_variable": { "vwo_starts_with": "wildcard(owv vwo*)" } }] }, { "or": [{ "custom_variable": { "vwo_contains": "wildcard(*vwo vwo vwo vwo vwo*)" } }] }] }] }] }, "expectation": false, "customVariables": { "vwo_starts_with": "vwo owv vwo", "vwo_not_equal_to": "vwo", "vwo_equal_to": "vwo", "notvwo": "vwo", "regex_vwo": "this isvwo", "vwovwovwo": "vwovwovw", "vwo_contains": "vwo" } }, "false2": { "dsl": { "or": [{ "and": [{ "and": [{ "not": { "or": [{ "custom_variable": { "notvwo": "notvwo" } }] } }, { "or": [{ "custom_variable": { "vwovwovwo": "regex(vwovwovwo)" } }] }] }, { "or": [{ "custom_variable": { "regex_vwo": "regex(this\\s+is\\s+vwo)" } }] }] }, { "and": [{ "and": [{ "not": { "or": [{ "custom_variable": { "vwo_not_equal_to": "owv" } }] } }, { "or": [{ "custom_variable": { "vwo_equal_to": "vwo" } }] }] }, { "or": [{ "or": [{ "custom_variable": { "vwo_starts_with": "wildcard(owv vwo*)" } }] }, { "or": [{ "custom_variable": { "vwo_contains": "wildcard(*vwo vwo vwo vwo vwo*)" } }] }] }] }] }, "expectation": false, "customVariables": { "vwo_starts_with": "vwo owv vwo", "vwo_not_equal_to": "vwo", "vwo_equal_to": "vwo", "notvwo": "vwo", "regex_vwo": "this is vwo", "vwovwovwo": "vwo", "vwo_contains": "vwo" } }, "true4": { "dsl": { "or": [{ "and": [{ "and": [{ "not": { "or": [{ "custom_variable": { "notvwo": "notvwo" } }] } }, { "or": [{ "custom_variable": { "vwovwovwo": "regex(vwovwovwo)" } }] }] }, { "or": [{ "custom_variable": { "regex_vwo": "regex(this\\s+is\\s+vwo)" } }] }] }, { "and": [{ "and": [{ "not": { "or": [{ "custom_variable": { "vwo_not_equal_to": "owv" } }] } }, { "or": [{ "custom_variable": { "vwo_equal_to": "vwo" } }] }] }, { "or": [{ "or": [{ "custom_variable": { "vwo_starts_with": "wildcard(owv vwo*)" } }] }, { "or": [{ "custom_variable": { "vwo_contains": "wildcard(*vwo vwo vwo vwo vwo*)" } }] }] }] }] }, "expectation": true, "customVariables": { "vwo_starts_with": "vwo owv vwo", "vwo_not_equal_to": "vwo", "vwo_equal_to": "vwo", "notvwo": "vo", "regex_vwo": "this is vwo", "vwovwovwo": "vwovwovwo", "vwo_contains": "vw" } }, "true1": { "dsl": { "or": [{ "and": [{ "and": [{ "not": { "or": [{ "custom_variable": { "notvwo": "notvwo" } }] } }, { "or": [{ "custom_variable": { "vwovwovwo": "regex(vwovwovwo)" } }] }] }, { "or": [{ "custom_variable": { "regex_vwo": "regex(this\\s+is\\s+vwo)" } }] }] }, { "and": [{ "and": [{ "not": { "or": [{ "custom_variable": { "vwo_not_equal_to": "owv" } }] } }, { "or": [{ "custom_variable": { "vwo_equal_to": "vwo" } }] }] }, { "or": [{ "or": [{ "custom_variable": { "vwo_starts_with": "wildcard(owv vwo*)" } }] }, { "or": [{ "custom_variable": { "vwo_contains": "wildcard(*vwo vwo vwo vwo vwo*)" } }] }] }] }] }, "expectation": true, "customVariables": { "vwo_starts_with": "owv vwo", "vwo_not_equal_to": "vwo", "vwo_equal_to": "vwo", "notvwo": "vwo", "regex_vwo": "this is vwo", "vwovwovwo": "vwovwovwo", "vwo_contains": "vwo" } }, "true3": { "dsl": { "or": [{ "and": [{ "and": [{ "not": { "or": [{ "custom_variable": { "notvwo": "notvwo" } }] } }, { "or": [{ "custom_variable": { "vwovwovwo": "regex(vwovwovwo)" } }] }] }, { "or": [{ "custom_variable": { "regex_vwo": "regex(this\\s+is\\s+vwo)" } }] }] }, { "and": [{ "and": [{ "not": { "or": [{ "custom_variable": { "vwo_not_equal_to": "owv" } }] } }, { "or": [{ "custom_variable": { "vwo_equal_to": "vwo" } }] }] }, { "or": [{ "or": [{ "custom_variable": { "vwo_starts_with": "wildcard(owv vwo*)" } }] }, { "or": [{ "custom_variable": { "vwo_contains": "wildcard(*vwo vwo vwo vwo vwo*)" } }] }] }] }] }, "expectation": true, "customVariables": { "vwo_starts_with": "owv vwo", "vwo_not_equal_to": "vwo", "vwo_equal_to": "vwo", "notvwo": "vwovwo", "regex_vwo": "this isvwo", "vwovwovwo": "vwovwovwo", "vwo_contains": "vwo" } }, "true2": { "dsl": { "or": [{ "and": [{ "and": [{ "not": { "or": [{ "custom_variable": { "notvwo": "notvwo" } }] } }, { "or": [{ "custom_variable": { "vwovwovwo": "regex(vwovwovwo)" } }] }] }, { "or": [{ "custom_variable": { "regex_vwo": "regex(this\\s+is\\s+vwo)" } }] }] }, { "and": [{ "and": [{ "not": { "or": [{ "custom_variable": { "vwo_not_equal_to": "owv" } }] } }, { "or": [{ "custom_variable": { "vwo_equal_to": "vwo" } }] }] }, { "or": [{ "or": [{ "custom_variable": { "vwo_starts_with": "wildcard(owv vwo*)" } }] }, { "or": [{ "custom_variable": { "vwo_contains": "wildcard(*vwo vwo vwo vwo vwo*)" } }] }] }] }] }, "expectation": true, "customVariables": { "vwo_starts_with": "owv vwo", "vwo_not_equal_to": "vwo", "vwo_equal_to": "vwo", "notvwo": "vwo", "regex_vwo": "this is vwo", "vwovwovwo": "vwo", "vwo_contains": "vwo" } } }, "complex_dsl_3": { "false5": { "dsl": { "and": [{ "or": [{ "custom_variable": { "contains_vwo": "wildcard(*vwo*)" } }] }, { "and": [{ "and": [{ "or": [{ "and": [{ "or": [{ "and": [{ "or": [{ "custom_variable": { "regex_for_all_letters": "regex(^[A-z]+$)" } }] }, { "or": [{ "custom_variable": { "regex_for_capital_letters": "regex(^[A-Z]+$)" } }] }] }, { "or": [{ "custom_variable": { "regex_for_small_letters": "regex(^[a-z]+$)" } }] }] }, { "or": [{ "custom_variable": { "regex_for_no_zeros": "regex(^[1-9]+$)" } }] }] }, { "or": [{ "custom_variable": { "regex_for_zeros": "regex(^[0]+$)" } }] }] }, { "or": [{ "custom_variable": { "regex_real_number": "regex(^\\d+(\\.\\d+)?)" } }] }] }, { "or": [{ "or": [{ "custom_variable": { "this_is_regex": "regex(this\\s+is\\s+text)" } }] }, { "and": [{ "and": [{ "or": [{ "custom_variable": { "starts_with": "wildcard(starts_with_variable*)" } }] }, { "or": [{ "custom_variable": { "contains": "wildcard(*contains_variable*)" } }] }] }, { "or": [{ "not": { "or": [{ "custom_variable": { "is_not_equal_to": "is_not_equal_to_variable" } }] } }, { "or": [{ "custom_variable": { "is_equal_to": "equal_to_variable" } }] }] }] }] }] }] }, "expectation": false, "customVariables": { "contains_vwo": "legends say that vwo is the best", "regex_for_no_zeros": 12231023, "regex_for_all_letters": "dsfASF6", "regex_for_small_letters": "sadfksjdf", "regex_real_number": 12321.2242, "regex_for_zeros": "0001000", "is_equal_to": "equal_to_variable", "contains": "contains_variable", "regex_for_capital_letters": "SADFLSDLF", "is_not_equal_to": "is_not_equal_to_variable", "this_is_regex": "this is regex", "starts_with": "starts_with_variable" } }, "false4": { "dsl": { "and": [{ "or": [{ "custom_variable": { "contains_vwo": "wildcard(*vwo*)" } }] }, { "and": [{ "and": [{ "or": [{ "and": [{ "or": [{ "and": [{ "or": [{ "custom_variable": { "regex_for_all_letters": "regex(^[A-z]+$)" } }] }, { "or": [{ "custom_variable": { "regex_for_capital_letters": "regex(^[A-Z]+$)" } }] }] }, { "or": [{ "custom_variable": { "regex_for_small_letters": "regex(^[a-z]+$)" } }] }] }, { "or": [{ "custom_variable": { "regex_for_no_zeros": "regex(^[1-9]+$)" } }] }] }, { "or": [{ "custom_variable": { "regex_for_zeros": "regex(^[0]+$)" } }] }] }, { "or": [{ "custom_variable": { "regex_real_number": "regex(^\\d+(\\.\\d+)?)" } }] }] }, { "or": [{ "or": [{ "custom_variable": { "this_is_regex": "regex(this\\s+is\\s+text)" } }] }, { "and": [{ "and": [{ "or": [{ "custom_variable": { "starts_with": "wildcard(starts_with_variable*)" } }] }, { "or": [{ "custom_variable": { "contains": "wildcard(*contains_variable*)" } }] }] }, { "or": [{ "not": { "or": [{ "custom_variable": { "is_not_equal_to": "is_not_equal_to_variable" } }] } }, { "or": [{ "custom_variable": { "is_equal_to": "equal_to_variable" } }] }] }] }] }] }] }, "expectation": false, "customVariables": { "contains_vwo": "legends say that vwo is the best", "regex_for_no_zeros": 1223123, "regex_for_all_letters": "dsfASF", "regex_for_small_letters": "sadfksjdf", "regex_real_number": 12321.2242, "regex_for_zeros": 0, "is_equal_to": "is_not_equal_to_variable", "contains": "contains_variable", "regex_for_capital_letters": "SADFLSDLF", "is_not_equal_to": "is_not_equal_to_variable", "this_is_regex": "this is regex", "starts_with": "starts_with_variable" } }, "false6": { "dsl": { "and": [{ "or": [{ "custom_variable": { "contains_vwo": "wildcard(*vwo*)" } }] }, { "and": [{ "and": [{ "or": [{ "and": [{ "or": [{ "and": [{ "or": [{ "custom_variable": { "regex_for_all_letters": "regex(^[A-z]+$)" } }] }, { "or": [{ "custom_variable": { "regex_for_capital_letters": "regex(^[A-Z]+$)" } }] }] }, { "or": [{ "custom_variable": { "regex_for_small_letters": "regex(^[a-z]+$)" } }] }] }, { "or": [{ "custom_variable": { "regex_for_no_zeros": "regex(^[1-9]+$)" } }] }] }, { "or": [{ "custom_variable": { "regex_for_zeros": "regex(^[0]+$)" } }] }] }, { "or": [{ "custom_variable": { "regex_real_number": "regex(^\\d+(\\.\\d+)?)" } }] }] }, { "or": [{ "or": [{ "custom_variable": { "this_is_regex": "regex(this\\s+is\\s+text)" } }] }, { "and": [{ "and": [{ "or": [{ "custom_variable": { "starts_with": "wildcard(starts_with_variable*)" } }] }, { "or": [{ "custom_v