-
-
Notifications
You must be signed in to change notification settings - Fork 820
Description
🐛 Bug Report
Hello, Presently I keep getting an error whenever I tried to run my test suites in my terminal. Thou all my test suites runs successfully on the Selenium IDE.
To Reproduce
Steps to reproduce the behaviour:
presently created and saved my first project as bloom.side.
-> I have installed the following on my MAC PC:
node.js
selenium-side-runner,
chromedriver.
Then In my Terminal, ran selenium-side-runner [path to side], and got the following output:
Input:
ibironke $ selenium-side-runner /Users/ibironke/Downloads/Automation_Test/Bloom.side
Output:
FAIL Bloom/bloom_login_valid.test.js
● Test suite failed to run
ReferenceError: Cannot access 'chrome' before initialization
at Object.<anonymous> (../../../usr/local/lib/node_modules/selenium-side-runner/node_modules/selenium-webdriver/index.js:1:1)
at Object.<anonymous> (../../../usr/local/lib/node_modules/selenium-side-runner/node_modules/jest-environment-selenium/dist/index.js:7:26)
FAIL Bloom/bloom_login_invalid.test.js
● Test suite failed to run
ReferenceError: Cannot access 'chrome' before initialization
at Object.<anonymous> (../../../usr/local/lib/node_modules/selenium-side-runner/node_modules/selenium-webdriver/index.js:1:1)
at Object.<anonymous> (../../../usr/local/lib/node_modules/selenium-side-runner/node_modules/jest-environment-selenium/dist/index.js:7:26)
Test Suites: 2 failed, 2 total
Tests: 0 total
Snapshots: 0 total
Time: 0.326s
Ran all test suites.
Expected behaviour
Once I run it, i expect all the test cases in my test suites should run successfully just as it does on the selenium IDE.
Project file reproducing this issue (highly encouraged)
Project file URL to reproduces this issue: https://github.com/ykthinkbig/Test-Automation-University/blob/master/Bloom.side
Environment
OS: macOD Mojave Version 10.14.4 (18E227)
Selenium IDE Version: 3.6.1 (Chrome add-on)
Selenium SIDE Runner Version: 3.6.1
Node version: 12.1.0
Browser Version: Chrome 4.0.3729.131 (64-bit)