Page MenuHomePhabricator

Testing the REST API in CI
Open, HighPublic

Description

Currently, in CI, Parsoid/JS spins up a service using mockAPI.js as the MediaWiki API and runs the mocha/api.js suite.

For the purpose of the port, we have a patch which lets a local MediaWiki instance with the installed Parsoid/PHP extension also use mockAPI.js for DataAccess and then we can run the mocha/api.js test suite with a supplied PARSOID_URL (added in T221168).

Moving forward though, we probably want to move to whatever the MediaWiki action API is tested with and do away with mocha altogether.

Event Timeline

Arlolra created this task.Sep 24 2019, 4:34 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 24 2019, 4:34 PM
ssastry moved this task from Backlog to Testing / QA on the Parsoid-PHP board.Sep 25 2019, 12:56 AM

Probably depends on T227352

Arlolra triaged this task as High priority.Wed, Dec 4, 9:46 PM