Skip to content

Filings UI: update Vue test-utils package #13232

Closed

Description

@severinbeauvais

The Filings UI is using an old version (beta build!) of package @vue/test-utils. The other UIs use a newer version that works better / requires fewer workarounds.

It should be updated. However, it's not just a matter of updating the dependency import (Cam and I tried that a while back) as many current unit tests break during the upgrade.

Also, package vue-test-utils-helpers may need to be updated. not needed

Low impact since the unit tests run currently run acceptably.

  • Update Business Filings UI.
  • Update Business Edit UI.
  • Update Business Create UI.

Activity

  1. severinbeauvais commented on Sep 9, 2022

    @severinbeauvais
    CollaboratorAuthor

    deleted obsolete comment

  2. severinbeauvais commented on Sep 12, 2022

    @severinbeauvais
    CollaboratorAuthor

    See also #5039.

  3. severinbeauvais commented on Sep 12, 2022

    @severinbeauvais
    CollaboratorAuthor

    I think we should defer/close this ticket, since it appears a bunch of unit test refactoring will be needed anyway to move our UI projects to Vue3. Ref: https://test-utils.vuejs.org/migration/

    I see two possible approaches:

    1. update Filings UI to VTU 1 now, then update Filings UI unit tests to VTU 2
    2. update Filings UI directly to VTU 2 as part of the upgrade Vue2 to Vue3 epic

    @davemck513 Thoughts? Without actually trying it, I am not sure which option is less work or easier. I'm slightly leaning towards the second option because we'll know more about this later.

  4. severinbeauvais commented on Sep 21, 2022

    @severinbeauvais
    CollaboratorAuthor

    ^^^ We decided to proceed with approach 1 (unless we don't get around to it before the Vue3 upgrade of Filings UI).

  5. severinbeauvais commented on Nov 14, 2022

    @severinbeauvais
    CollaboratorAuthor

    Test Notes

    There is nothing to QA for these changes -- they are only in the test suites. Since the test suites passed in GitHub (as part of PR process), this ticket is verified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions