Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-1291

Fix page provider not property converting queryParameters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.1.x, 3.0.x
    • Fix Version/s: 3.0.2, 3.1.x
    • Component/s: Core
    • Tags:
    • Team:
      UI
    • Sprint:
      UI - 2021-01

      Description

      Web UI functional tests are systematically failing with the following error: 

      09:50:33  [INFO]      [exec] 1) Browse9 I click "Domain" in the browser tree:
      09:50:33  [INFO]      [exec] number or type of arguments don't agree with elementIdClick protocol command
      09:50:33  [INFO]      [exec] running chrome
      09:50:33  [INFO]      [exec] Error: number or type of arguments don't agree with elementIdClick protocol command
      09:50:33  [INFO]      [exec]     at elementIdClick() - click.js:20:22
      09:50:33  [INFO]      [exec] 
      09:50:33  [INFO]      [exec] 2) Browse collections15 I can see that the document belongs to the collection:
      09:50:33  [INFO]      [exec] element ("nuxeo-data-table nuxeo-data-table-row a.title") still not visible after 20000ms
      09:50:33  [INFO]      [exec] running chrome
      09:50:33  [INFO]      [exec] Error: element ("nuxeo-data-table nuxeo-data-table-row a.title") still not visible after 20000ms
      09:50:33  [INFO]      [exec]     at execute(<Function>, "nuxeo-data-table nuxeo-data-table-row a.title", true, [object Object], ) - wdio-shadow-plugin.js:169:17
      09:50:33  [INFO]      [exec] 
      09:50:33  [INFO]      [exec] 3) Favorites7 I can see the document belongs to the favorites:
      09:50:33  [INFO]      [exec] expected false to be true
      09:50:33  [INFO]      [exec] running chrome
      09:50:33  [INFO]      [exec] AssertionError: expected false to be true
      09:50:33  [INFO]      [exec]     at World.<anonymous> (/home/jenkins/agent/workspace/nuxeo_nuxeo-web-ui_master/packages/nuxeo-web-ui-ftest/features/step_definitions/favorites.js:4:3)
      09:50:33  [INFO]      [exec]     at new Promise (<anonymous>)
      09:50:33  [INFO]      [exec]     at new F (/home/jenkins/agent/workspace/nuxeo_nuxeo-web-ui_master/node_modules/core-js/library/modules/_export.js:36:28) 

      This happens because since ELEMENTS-1283, parameters are no longer being converted to query parameters if they are of type array, which was the previous behavior.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 6 hours
                  6h