diff --git a/contributors.txt b/contributors.txt index d35854e..3e05d50 100644 --- a/contributors.txt +++ b/contributors.txt @@ -1,4 +1,5 @@ "Etienne Rocheleau" +"Jerome Devost" "Francis Nadeau" "Pascal Soucy" "Adam Bolduc" diff --git a/scenarios_examples/DemoMovies.json b/scenarios_examples/DemoMovies.json index dfbb5cc..b7d2a92 100644 --- a/scenarios_examples/DemoMovies.json +++ b/scenarios_examples/DemoMovies.json @@ -12,21 +12,46 @@ "timeBetweenActions": 1, "randomGoodQueries": [], "randomBadQueries": [], - "randomCustomData": [ - ], - "globalFilter": "NOT @mytype=Wikipedia", + "randomCustomData": [{"apiname": "c_isbot", "values": ["true"]}], + "globalFilter": "@mytype=Movie", "scenarios": [{ - "name": "(G) red willis", - "weight": 3, - "events": [{ - "type": "SearchAndClick", - "arguments": { - "queryText": "red willis", - "matchField": "title", - "matchRegex": "^RED( [0-9])?$", - "probability": 0.95 - } - }] - }] + "name": "(G) red willis", + "weight": 3, + "events": [{ + "type": "SearchAndClick", + "arguments": { + "queryText": "red willis", + "matchField": "title", + "matchPattern": "^RED( [0-9])?$", + "probability": 0.95 + } + }] + }, + { + "name": "(G) jason bourne", + "weight": 3, + "events": [{ + "type": "SearchAndClick", + "arguments": { + "queryText": "jason bourne", + "matchField": "title", + "matchPattern": " Identity$", + "probability": 1 + } + }] + }, + { + "name": "(G) balboa", + "weight": 3, + "events": [{ + "type": "SearchAndClick", + "arguments": { + "queryText": "balboa", + "docClickTitle": "Rocky", + "probability": 1 + } + }] + } + ] } \ No newline at end of file