Page MenuHomePhabricator

Testing: Update MediaSearch front-end unit tests to Vue 3
Closed, ResolvedPublic

Description

Now that MW Core is migrating over to the migration build of Vue 3, we should update the project's unit tests and related devDependencies to match.

  • Vue 2 -> Vue 3
  • Vuex 3 -> Vuex 4
  • VueTestUtils 2.x -> 3.x
NOTE: Testing of this task will just occur when ALL subtasks are completed,a nd will just need to be done once.

Needed for QA:
Due to the changes on big libraries such as Vuex, the application should go through a full set of testing to ensure all functions work as expected. Mainly things to look out for are:

  • Interaction with the filters, search
  • Go back and forth after making changes and selections
  • refresh the page and ensure the app loads in the correct state

Event Timeline

CBogen renamed this task from Testing: Update front-end unit tests to Vue 3 to Testing: Update MediaSearch front-end unit tests to Vue 3.Dec 14 2021, 6:41 PM

Change 757422 had a related patch set uploaded (by AdesojiThisDot; author: AdesojiThisDot):

[mediawiki/extensions/MediaSearch@master] Update MediaSearch front-end unit tests to Vue 3

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

CBogen added a subscriber: CBogen.

Testing is blocked on completion of all of the subtasks.

Change 757422 merged by jenkins-bot:

[mediawiki/extensions/MediaSearch@master] Update MediaSearch front-end unit tests to Vue 3

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

Etonkovidova added a subscriber: Etonkovidova.

Checked in betalabs - all seem to be working as expected. I'll run additional checking in production.

Checked in production - commons wmf.6, no regression issues found.