Skip to content

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

@corredorcatino

Description

@corredorcatino

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions