ember-test-waiters icon indicating copy to clipboard operation
ember-test-waiters copied to clipboard

An Ember addon to allow @ember/test-helpers to manage asynchronous operations

Results 13 ember-test-waiters issues
Sort by recently updated
recently updated
newest added

Applies https://github.com/embroider-build/addon-blueprint Beware, the lockfile ![image](https://github.com/emberjs/ember-test-waiters/assets/199018/9fdd3909-f8c4-45a1-974c-9453a69d1c2a)

enhancement

The new waiter system was introduced in 2020: https://rfcs.emberjs.com/id/0581-new-test-waiters

breaking

NOTE: the `main` branch will not be releasable during this time, because we need to complete the plan, so that there is minimal/zero disruption to folks' test suites. Here is...

Changes - use ember-source built in types (DT types are best effort, and not great for modern use as they are not compatible with ember-data (ember-data is compatible with the...

internal

This PR is a preview of the release that [release-plan](https://github.com/embroider-build/release-plan) has prepared. To release you should just merge this PR 👍 ----------------------------------------- ## Release (2024-05-07) @ember/test-waiters 4.0.0 (major) #### :boom:...

internal

the only way to pass a label to `beginAsync` is to also pass a token yourself, meaning: ```ts waiter.beginAsync(waiter.nextToken(), myLabel) ``` in production builds this will throw because the no-op...

The Error ```ts error TS1236: The return type of a property decorator function must be either 'void' or 'any'. Unable to resolve signature of property decorator when called as an...

Is it feasible to provide a type for `waitFor` that is compatible with Ember's runloop functions? Looking to do something like: ```ts schedule('afterRender', waitFor(async () => { … })) ```...

Right now, the minified production code that `ember-test-waiters` puts in a build is around [3.4K](https://github.com/emberjs/ember-test-waiters/issues/121#issuecomment-658674960). It would be nice to make this as low as possible. cc @rwjblue, @scalvert

enhancement

```javascript @waitFor('my-label') async doSomething() {} ``` Errors with ``` wait-for.js:38 Uncaught (in promise) TypeError: fn.call is not a function at wait-for.js:38 at index.js:15 at Array.reduce () at _applyDecoratedDescriptor (index.js:15) at...