mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-12-18 01:30:32 +00:00
0f801ea550
Steps to implement: Copy over and adapt setup files, to install Cypress in the Cite code base. Port tests/selenium/specs/backlinks.js and supporting file cite.page.js to run under the Cypress environment, in a second patchset. Run the new suite in CI, replacing the previous selenium integration. Delete the selenium test suite. Bug: T353436 Change-Id: Ie76371e18d8612daa7c7be741432c6f3e0b783b5
28 lines
705 B
JSON
28 lines
705 B
JSON
{
|
|
"name": "Cite",
|
|
"private": true,
|
|
"scripts": {
|
|
"selenium-daily": "npm run selenium-test",
|
|
"selenium-test": "cypress run",
|
|
"cypress:open": "cypress open",
|
|
"test": "grunt test",
|
|
"lint:fix": "grunt test --fix"
|
|
},
|
|
"devDependencies": {
|
|
"@wdio/cli": "7.30.1",
|
|
"@wdio/junit-reporter": "7.29.1",
|
|
"@wdio/local-runner": "7.30.1",
|
|
"@wdio/mocha-framework": "7.26.0",
|
|
"@wdio/spec-reporter": "7.29.1",
|
|
"cypress": "^13.6.1",
|
|
"eslint-config-wikimedia": "0.26.0",
|
|
"eslint-plugin-cypress": "^2.15.1",
|
|
"grunt": "1.6.1",
|
|
"grunt-banana-checker": "0.11.0",
|
|
"grunt-eslint": "24.3.0",
|
|
"grunt-stylelint": "0.19.0",
|
|
"stylelint-config-wikimedia": "0.16.1",
|
|
"wdio-mediawiki": "2.3.0"
|
|
}
|
|
}
|