The tests fail with unrelated error message
If tests are executed without test server running the test fail with unrelated error message:
TypeError: Cannot read properties of undefined (reading 'reporters')
Steps to reproduce
- DON't call
npm run test-server
or stop it explicitly npm run test -- v3 chromium --grep="tarts with default addon inf"
Actual behavior
Got an error output:
> @eyeo/webext-sdk@0.5.0 test
> node test/runner.js "v3" "chromium" "--grep=tarts with default addon inf"
Getting ready to run chromium...
Browser: chrome 104.0.5112.0
================
Functional Tests
================
1) "before all" hook in "{root}"
0 passing (34ms)
1 failing
1) "before all" hook in "{root}":
TypeError: Cannot read properties of undefined (reading 'reporters')
at Context.<anonymous> (functional.js:63034:17)
============
Reload Tests
============
0 passing (1ms)
==========
Fuzz Tests
==========
1) "before all" hook in "{root}"
0 passing (22ms)
1 failing
1) "before all" hook in "{root}":
TypeError: Cannot read properties of undefined (reading 'reporters')
at Context.<anonymous> (functional.js:63034:17)
Test Failure: 1 functional tests failed
Expected behavior
Only Connection refused. Test pages server is probably down
is expected