Page MenuHomePhabricator

[MEX] M2 - Create tests for view files
Closed, ResolvedPublic

Description

We need to test our code to ensure 'A more functional, maintainable, responsive and consistent UI'. Our current set up is the absolute barest minimum:

  • some php testing to ensure it renders
  • js to make mex item view load

Acceptance Criteria

  • Unit tests exist for templates on client side
  • Unit tests exist for templates on server side
  • All datatypes are covered (mock data can be used)
  • Accessibility is tested (likely Axe-core is implemented and running over the vue templates)

To Do

  1. split by the 7 templates and include in ticket both client & server side
  2. subtask for e2e framework + quality metrics
  3. determine if axe-core is unit or e2e

Event Timeline

karapayneWMDE renamed this task from [MEX] Create unit tests for view files to [MEX] M2 - Create unit tests for view files.Jul 22 2025, 12:37 PM
karapayneWMDE renamed this task from [MEX] M2 - Create unit tests for view files to [MEX] M2 - Create tests for view files.Jul 25 2025, 8:13 AM