Skip to content

test fail although all commands pass in selenium-side-rinner due to hardcoded implicitWait #1567

@mdobrzanski

Description

@mdobrzanski

🐛 Bug Report

On slow/throttled internet connection (400 KB/s) the test fail with Operation timeout (src) although there's only one simple open command in the test.

Test passes just fine using Selenium IDE but not using selenium-side-runner.
The parameter --timeout for selenium-side-runner does not help.
Tampering with implicitWait in WebDriverExecutor in the source code does the trick but I don't see elegant way to modify the implicitWait. Is there?

To Reproduce

Expected behavior

Expected is that the test pass since all steps passed successfully or a way to pass implicitWait in command line argument.

Project file reproducing this issue (highly encouraged)

{
  "id": "0be60562-68da-41fb-a871-fc6943ccf780",
  "version": "2.0",
  "name": "implicit-timeout-issue",
  "url": "https://beta.slashdb.com",
  "tests": [{
    "id": "c1e829fb-fa2f-476c-906d-0394418d7307",
    "name": "simple open",
    "commands": [{
      "id": "d18dd331-7431-41aa-afa4-405f10be8d5a",
      "comment": "",
      "command": "open",
      "target": "/",
      "targets": [],
      "value": ""
    }]
  }],
  "suites": [{
    "id": "daa4df18-c054-45a9-8c04-1e719dce6dc3",
    "name": "Default Suite",
    "persistSession": false,
    "parallel": false,
    "timeout": 300,
    "tests": ["c1e829fb-fa2f-476c-906d-0394418d7307"]
  }],
  "urls": [],
  "plugins": []
}

Environment

OS: Windows 10
Selenium IDE Version: 4.0.0-alpha.30
Selenium SIDE Runner Version: 4.0.0-alpha.34
Node version: v18.12.1
Browser: Chrome
Browser Version: 108.0.5359.125 (Official Build) (64-bit)

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