Page MenuHomePhabricator
Paste P17486

code mirror$ npm run selenium-test
ActivePublic

Authored by Lykarungi on Oct 15 2021, 8:39 AM.
Tags
None
Referenced Files
F34689686: code mirror$ npm run selenium-test
Oct 15 2021, 8:39 AM
Subscribers
None
lydiakarungi@Lydias-MacBook-Pro codemirror % npm run selenium-test
> @ selenium-test /Users/lydiakarungi/Desktop/outreachy/mediawiki/extensions/CodeMirror
> wdio tests/selenium/wdio.conf.js
Execution of 3 spec files started at 2021-10-15T08:37:25.715Z
[0-0] RUNNING in chrome - /tests/selenium/specs/highlighting-disabled.js
[0-0] PASSED in chrome - /tests/selenium/specs/highlighting-disabled.js
[0-1] RUNNING in chrome - /tests/selenium/specs/highlighting-wikitext2010.js
[0-1] AssertionError in "CodeMirror bracket match highlighting for the wikitext 2010 editor.highlights matching bracket"
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
'' !== '[]'
at Context.<anonymous> (/Users/lydiakarungi/Desktop/outreachy/mediawiki/extensions/CodeMirror/tests/selenium/specs/highlighting-wikitext2010.js:26:10)
[0-1] AssertionError in "CodeMirror bracket match highlighting for the wikitext 2010 editor.matches according to cursor movement"
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
'' !== '{}'
at Context.<anonymous> (/Users/lydiakarungi/Desktop/outreachy/mediawiki/extensions/CodeMirror/tests/selenium/specs/highlighting-wikitext2010.js:33:10)
[0-1] FAILED in chrome - /tests/selenium/specs/highlighting-wikitext2010.js
[0-2] RUNNING in chrome - /tests/selenium/specs/highlighting-wikitext2017.js
[0-2] FAILED in chrome - /tests/selenium/specs/highlighting-wikitext2017.js
"dot" Reporter:
.FF
Spec Files: 1 passed, 2 failed, 3 total (100% completed) in 00:01:13
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ selenium-test: `wdio tests/selenium/wdio.conf.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ selenium-test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/lydiakarungi/.npm/_logs/2021-10-15T08_38_39_110Z-debug.log