| alaa_wmde created this task. alaa_wmde added projects: Lexicographical data, Browser-Tests, Wikidata-Campsite. Restricted Application added a project: Wikidata. |
TASK DESCRIPTION
WikibaseLexeme browser tests are failing locally after initial setup of docker dev. env.
The failures are caused by Invalid CSRF Token thrown in api calls via the bot within the tests.
It is not clear if it can always be reproduced by starting fresh and trying to run the tests, but that was my case (and the only one I know about yet). Though since then the failures are consistent.
Example failing spec tests/selenium/specs/form.edit.js.
Can be run solely by running chrome driver:
chromedriver --url-base=wd/hub --port=4444
and then running the spec (inside mediawiki core directory):
DISPLAY="" node_modules/.bin/wdio tests/selenium/wdio.conf.js --spec extensions/WikibaseLexeme/tests/selenium/specs/form.edit.js
TASK DETAIL
EMAIL PREFERENCES
To: alaa_wmde
Cc: alaa_wmde, Nandana, Mringgaard, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Darkdadaah, zeljkofilipin, Mbch331
Cc: alaa_wmde, Nandana, Mringgaard, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Darkdadaah, zeljkofilipin, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
