Uploaded image for project: 'Apps Development Framework'
  1. Apps Development Framework
  2. ADF-4969

DL sorting e2e not reliable - checkListIsSorted method not working as expected

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 3.5.0
    • Fix Version/s: None
    • Component/s: Document List, e2e
    • Labels:
      None
    • Environment:
      Environment, browser

      Description

      Steps to reproduce the issue:
      Check this method:
      https://github.com/Alfresco/alfresco-ng2-components/blob/master/lib/testing/src/lib/core/pages/data-table-component.page.ts#L123

      • There are e2e tests that call this method and do not have any expects inside - so they always pass.
      • The checkListIsSorted does an alphanumeric sorting check, but it is used in tests checking for numeric ordering like sort by Size.
      • Currently, the checkListIsSorted method always returns true.
      • the checkListIsSorted should be used only in the context of only file sorting or only folder sorting - as DL always keeps folders on top - this is not taken into account atm

      Current behaviour:
      unreliable e2e tests on document list sorting

      Expected behavior:
      Fix the checkListIsSorted method and tests.

        TestRail: Results

          Attachments

            Structure

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  sdirla Suzana Dirla [X] (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:

                    TestRail: Cases

                      Structure Helper Panel