Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-3926

ResizeObserver can cause e2e failure

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Done
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: frontend
    • Labels:
      None
    • Epic Link:
    • Effort:
      Not defined

      Description

      Intermittently the ResizeObserver can cause a ResizeObserver loop limit exceeded error. According to https://stackoverflow.com/a/50387233 this is a benign error, however it can cause e2e test failures because testcafe tracks Javascript errors:

      ✖ combine two single table reports and reorder them
      
         1) A JavaScript error occurred on "http://localhost:3000/#/report/new-combined/edit".
            Repeat test actions in the browser and check the console for errors.
            If you see this error, it means that the tested website caused it. You can fix it or disable tracking JavaScript
            errors in TestCafe. To do the latter, enable the "--skip-js-errors" option.
            If this error does not occur, please write a new issue at:
            "https://github.com/DevExpress/testcafe/issues/new?template=bug-report.md".
      
            JavaScript error details:
            ResizeObserver loop limit exceeded
                No stack trace available
      
            Browser: Chrome 83.0.4103.116 / macOS 10.14.5
      
                98 |  await t.expect(Combined.reportTable.visible).ok();
                99 |
               100 |  await t.typeText(Report.nameEditField, 'Combined Table Report', {replace: true});
               101 |
               102 |  await t
             > 103 |    .resizeWindow(1150, 700)
               104 |    .takeScreenshot('process/combined-report/table-report.png', {fullPage: true})
               105 |    .maximizeWindow();
               106 |
               107 |  await t.dragToElement(Combined.singleReport('Table Report'), Combined.dragEndIndicator);
               108 |
      
               at <anonymous> (/Users/user/Camunda/camunda-optimize/client/e2e/tests/CombinedReport.js:103:6)

        mgm-controller-panel

        This is the controller panel for Smart Panels app

          Attachments

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              sebastian.stamm Sebastian Stamm
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Salesforce