• 
      

    Update the Dashboard datagrid tests for new equery helpers.

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

    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.

    Commits

    Files