Skip to content

Integration tests do not always wait for table to render #1120

@gokolo

Description

@gokolo

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions