-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
Expected Behavior
The monkey should allow me to exclude certain types of events by setting up its percentage to zero (0).
Current Behavior
Monkey throws an error and stop its execution.
monkey.js.mp4
Steps to Reproduce
- Launch Ghost locally
- Configure the monkey with the following parameters
{
"projectId":"TSDL-Monkey-with-cypress",
"baseUrl":"http://localhost:2368/ghost",
"env":{
"appName":"Ghost",
"events":500,
"delay":300,
"seed":25,
"pctClicks":20,
"pctScroll":0,
"pctSelectors":20,
"pctKeys":15,
"pctSpKeys":10,
"pctPgNav":35
},
"integrationFolder": "./cypress/integration/monkey",
"pluginsFile": "./cypress/plugins/index.js",
"pageLoadTimeout":120000,
"defaultCommandTimeout":120000,
"testFiles": "monkey.js",
"videosFolder":"./results"
}
Notice the value of pctScroll
.
- Run
.\node_modules\.bin\cypress run --config-file .\monkey-config.json --headed
Context
- monkey-cypress e60dda8
- Ghost 5.68.0
- Windows 10
Metadata
Metadata
Assignees
Labels
No labels