systelab / systelab-components

Systelab Angular common components
MIT License
14 stars 8 forks source link

There is a dead time between AG Grid Loading overlay disappears and AG Grid is actually populated #702

Open jperez1-via opened 1 year ago

jperez1-via commented 1 year ago

Is your feature request related to a problem? Please describe. During WDIO e2e test development of a grid with "considerable" volume of data has been found out a flakiness in a specific test that could be related to AG Grid current implementation. AG Grid current implementation shows a "Loading" overlay when grid is loading, in systelab-components-wdio-test it is taken for granted that Grid is loaded once the "Loading" overlay is no longer displayed however this seems not to be true, once the "Loading" overlay disappears there is actually a dead time until the grid is fully populated and this causes a flakiness. From the project it is disowned and have been not investigated whether there is another event that guarantees the grid has been fully populated or not but for now by using the "Grid.waitToBeLoaded()" method the described issues is given.

There is a recorded video showing such behavior, ask for this to me.

Describe the solution you'd like Extend the visibility of the "Loading" overlay until the grid is fully populated and remove the dead time. Also, another "Grid.waitToBeLoaded()" approach could be investigated. Other suggestions or solutions are welcome.

carlosra85 commented 1 year ago

This overlay is managed internally by AG Grid. Maybe this should be fixed in systelab-components-wdio-test