Skip to content

[0.7.17] waitUntil timed out #318

Closed
Closed
@boris-petrov

Description

We upgraded to 0.7.17 and we started getting this error (waitUntil timed out) in a bunch of tests. Seemingly sporadically. We have a test like this:

  @set('person', EmberObject.create(name: 'Conan'))

  @render hbs '{{some-component person.name}}'
  @set('person.name', 'Jay')

  await wait()
  assert.equal @$().text().trim(), 'Jay created this'

Which started sporadically failing (on the await wait() line) with that error. Not sure if we are using it wrong or there is some bug.

Another funny thing is that if I remove the await wait() line, not only is the error not received any more (which is normal), but also the test passes... I have no idea why. Is this normal? Is this documented somewhere?

Thanks!

P.S. Alongside ember-test-helpers, ember-cli-qunit got updated from 4.3.0 to 4.3.1 and ember-qunit from 3.3.0 to 3.3.1. Not sure if this matters as I'm seeing here commits that are related to wait so I guess the issue is here (or in our code).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions