ember-table icon indicating copy to clipboard operation
ember-table copied to clipboard

Integration tests do not always wait for table to render

Open gokolo opened this issue 1 year ago • 0 comments

We are on Ember Table V5.0.6. We used the setupEmberTableForTest(); helper in our tests. But our integration test are still flaky. It seems that some rendering tasks that are not completed before the tests moves on to the next line despite the await call.

I looked at Ember table's tests and I noticed that settled() is called after render() is called.

This fixed my failing tests but this triggers the no-settled-after-test-helper eslint error.

What can be done to fix this without having to call settled() after render() is called?

gokolo avatar Aug 12 '24 13:08 gokolo