Page MenuHomePhabricator

Write some tests for Codex interface
Open, Needs TriagePublic

Description

Anything non-trivial in the new interface would benefit from having test coverage. See HelpBanner.test.js for an example of how to write these tests. See also https://test-utils.vuejs.org/

Run tests with npx jest, which is also called by npm test during CI.

Event Timeline

awight updated the task description. (Show Details)

Change 975828 had a related patch set uploaded (by Svantje Lilienthal; author: Svantje Lilienthal):

[mediawiki/extensions/FileImporter@master] First test for FileTitle

https://gerrit.wikimedia.org/r/975828

Change 975828 merged by jenkins-bot:

[mediawiki/extensions/FileImporter@master] First test for FileTitle

https://gerrit.wikimedia.org/r/975828

Change 977988 had a related patch set uploaded (by WMDE-Fisch; author: WMDE-Fisch):

[mediawiki/extensions/FileImporter@master] Codex: Test for the FileTitle validation

https://gerrit.wikimedia.org/r/977988

Change 977988 merged by jenkins-bot:

[mediawiki/extensions/FileImporter@master] Codex: Test for the FileTitle validation

https://gerrit.wikimedia.org/r/977988

Change 979301 had a related patch set uploaded (by Mareike Heuer; author: Mareike Heuer):

[mediawiki/extensions/FileImporter@master] Codex: test for CategoriesSection

https://gerrit.wikimedia.org/r/979301

MareikeHeuerWMDE updated the task description. (Show Details)
MareikeHeuerWMDE updated the task description. (Show Details)

Change 979301 merged by jenkins-bot:

[mediawiki/extensions/FileImporter@master] Codex: test for CategoriesSection

https://gerrit.wikimedia.org/r/979301

Change 981335 had a related patch set uploaded (by Mareike Heuer; author: Mareike Heuer):

[mediawiki/extensions/FileImporter@master] Codex: test for CategoriesList

https://gerrit.wikimedia.org/r/981335

Change 981348 had a related patch set uploaded (by Mareike Heuer; author: Mareike Heuer):

[mediawiki/extensions/FileImporter@master] Codex: additional tests for CategoriesSection

https://gerrit.wikimedia.org/r/981348

Change 981348 merged by jenkins-bot:

[mediawiki/extensions/FileImporter@master] Codex: additional tests for CategoriesSection

https://gerrit.wikimedia.org/r/981348

Change 981335 merged by jenkins-bot:

[mediawiki/extensions/FileImporter@master] Codex: test for CategoriesList

https://gerrit.wikimedia.org/r/981335