-
-
Notifications
You must be signed in to change notification settings - Fork 820
Description
🐛 Bug Report
After install of selenium-side-runner I am experiencing a huge delay between the cmd execution and the tests execution.
When using the --debug flag it takes ~5 minutest until the jest debug messages appear and the selenium test are finally executed.
Does anybody have an idea why?
debug: Could not load /tmp/tests/.side.yml
debug: { capabilities: { browserName: 'chrome', chromeOptions: { args: [Array] } },
params: {},
runId: 'ef3c15320ec04e50a992842fd11194ab',
path: '/usr/local/lib/node_modules/',
server: undefined,
timeout: 15000,
baseUrl: undefined,
outputFormat: [Function] }
info: Running test.side
added 25 packages from 22 contributors and audited 37 packages in 6.466s
found 0 vulnerabilities
<====== HERE ~ 5 minutes nothing ======>
debug: jest worker args
debug: 0=--no-watchman, 1=--testMatch, 2={**/***/*.test.js,**/***.test.js}
debug: jest work opts
debug: cwd=/tmp/tests/side-suite-test, stdio=inherit
PASS ./Test.test.js (130.872s)
Test
✓ test (127892ms)
Test Suites: 1 passed, 1 total
Tests: 1 passed, 1 total
Snapshots: 0 total
Time: 131.115s
Ran all test suites.
To Reproduce
selenium-side-runner --debug -c "browserName=chrome chromeOptions.args=[no-sandbox, headless]" test.side
(It probably does not make any difference which capabilities are set but my machine is only able to run it headless.)
Expected behavior
Test should start more or less immediately.
Project file reproducing this issue (highly encouraged)
Any .side file will do, e.g.
{
"id": "12d70a4d-f0e6-40dd-9cd3-293f0c255ba9",
"version": "2.0",
"name": "test",
"url": "https://www.google.com",
"tests": [{
"id": "a2b75cbd-7ec5-43af-9e98-528cfd9d2d9a",
"name": "test",
"commands": [{
"id": "6292a107-1de3-4119-a166-262aa26939da",
"comment": "",
"command": "open",
"target": "/",
"targets": [],
"value": ""
}]
}],
"suites": [{
"id": "f685240e-7d02-4db1-a6f0-6195a22b2f45",
"name": "Test",
"persistSession": false,
"parallel": false,
"timeout": 300,
"tests": ["a2b75cbd-7ec5-43af-9e98-528cfd9d2d9a"]
}],
"urls": ["https://www.google.com/"],
"plugins": []
}
Environment
Distributor ID: Ubuntu
Description: Ubuntu 16.04.6 LTS
Release: 16.04
Codename: xenial
Selenium IDE 3.7.4
NODE v10.15.3
NPM 6.4.1
Google Chrome 74.0.3729.157
selenium-side-runner 3.7.4
ChromeDriver 74.0.3729.6 (255758eccf3d244491b8a1317aa76e1ce10d57e9-refs/branch-heads/3729@{#29})