Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monkey doesn't allow to exclude certain types of events #27

Open
corredorcatino opened this issue Nov 5, 2023 · 0 comments
Open

Monkey doesn't allow to exclude certain types of events #27

corredorcatino opened this issue Nov 5, 2023 · 0 comments

Comments

@corredorcatino
Copy link

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

  1. Launch Ghost locally
  2. 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.

  1. Run .\node_modules\.bin\cypress run --config-file .\monkey-config.json --headed

Context

  • monkey-cypress e60dda8
  • Ghost 5.68.0
  • Windows 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant