You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since introduction of change request #132, we have added a 2000ms debounce when any of the query filters have been updated. Although this gives users a chance to update their filters in quick succession (without exhausting API calls), this may be the cause of why some of the integration tests are failing.
Introduce a 2000ms wait on waitForIncidentTable() under cypress/support/util/common.js before the incident table element is queried. This should give enough time for PD Live to call the API and to re-render the correct data.
The text was updated successfully, but these errors were encountered:
Summary
Since introduction of change request #132, we have added a
2000ms
debounce when any of the query filters have been updated. Although this gives users a chance to update their filters in quick succession (without exhausting API calls), this may be the cause of why some of the integration tests are failing.Example failed run: https://github.com/giranm/pd-live-react/runs/7467993657?check_suite_focus=true#step:7:75
Proposed Fix
Introduce a 2000ms wait on
waitForIncidentTable()
undercypress/support/util/common.js
before the incident table element is queried. This should give enough time for PD Live to call the API and to re-render the correct data.The text was updated successfully, but these errors were encountered: