Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-28027

Fix nuxeo-document-suggestion setter test fixture

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.10
    • Fix Version/s: 10.10-HF14, 11.1
    • Component/s: Tests, Web UI

      Description

      We have a dirty hack in https://github.com/nuxeo/plugin-nuxeo-web-ui/blob/release-2.4.13/nuxeo-web-ui-ftest/test/features/step_definitions/support/fixtures/layouts.js#L23

            // sometimes the caret is not clickable (e.g. in dialog ...)
            // and clicking the input does not open suggestion (e.g. in search drawer content)
            // ¯\_(ツ)_/¯
            try {
              element.element(isMulti ? 'input' : '.selectivity-caret').click();
            } catch (err) {
              element.element(isMulti ? 'input' : '#input').click();
            }
      

      which does not properly open a nuxeo-document-suggestion. It shows the loading span for ever and we cannot click and select the result with an error like:

      [chrome #0-0] unknown error: Element <div class="selectivity-result-item highlight" style="padding-left: 7px" data-item-id="8584c98c-7bf8-4c89-bac1-3018579bb2aa">...</div> is not clickable at point (1024, 582). Other element would receive the click: <div class="selectivity-loading">...</div>
      

        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 - 3 hours
                  3h

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.