Update the Dashboard datagrid tests for new equery helpers.

Review Request #13417 — Created Nov. 15, 2023 and submitted

Information

Review Board
release-5.0.x

Reviewers

The Dashboard datagrid unit tests now utilize the new expected query
helper functions to build more maintainable sets of query expectations
that the datagrid's queries can be tested against.

All tests now go through a _build_datagrid_equeries(), which manages
all the datagrid query assertions, utilizing these helpers and the
arguments provided to test all view modes of the datagrid, including
sidebar functionality and all available columns.

It's now much easier to determine how the tests differ and to keep them
maintainable as work on the queries continues.

Unit tests pass.

Summary ID
Update the Dashboard datagrid tests for new equery helpers.
The Dashboard datagrid unit tests now utilize the new expected query helper functions to build more maintainable sets of query expectations that the datagrid's queries can be tested against. All tests now go through a `_build_datagrid_equeries()`, which manages all the datagrid query assertions, utilizing these helpers and the arguments provided to test all view modes of the datagrid, including sidebar functionality and all available columns. It's now much easier to determine how the tests differ and to keep them maintainable as work on the queries continues.
a53e5dbd62f6202ea3b723b4586ec07b5d072a2a
Description From Last Updated

Typo: bncluded -> included

maubinmaubin
maubin
  1. 
      
  2. Show all issues

    Typo: bncluded -> included

  3. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-5.0.x (53b76f6)