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

Failure when scrolling if element is not scrollable #26

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

Failure when scrolling if element is not scrollable #26

corredorcatino opened this issue Nov 5, 2023 · 0 comments

Comments

@corredorcatino
Copy link

Expected Behavior

If an element is not scrollable, the monkey should continue with the next event without issues.

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":1,
        "pctSelectors":20,
        "pctKeys":15,
        "pctSpKeys":10,
        "pctPgNav":34
    },
    "integrationFolder": "./cypress/integration/monkey",
    "pluginsFile": "./cypress/plugins/index.js",
    "pageLoadTimeout":120000,
    "defaultCommandTimeout":120000,
    "testFiles": "monkey.js",
    "videosFolder":"./results"
}
  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