# When is the right time to move to async acceptance tests?

**URL:** https://discuss.emberjs.com/t/when-is-the-right-time-to-move-to-async-acceptance-tests/14553
**Category:** General
**Created:** [April 16, 2018, 11:53pm UTC](https://discuss.emberjs.com/t/when-is-the-right-time-to-move-to-async-acceptance-tests/14553 "2018-04-16T23:53:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![sam](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/sam/32/3514_2.png) [@sam](https://discuss.emberjs.com/u/sam)
#### Post date: [April 16, 2018, 11:53pm UTC](https://discuss.emberjs.com/t/when-is-the-right-time-to-move-to-async-acceptance-tests/14553/1 "2018-04-16T23:53:22Z")

</div>

I am a huge fan of the new “style” of acceptance tests in Ember.

This to me reads so much clearer that the `andThen` pattern:

```auto
QUnit.test('close temporarily', async function(assert) {
  await click('.something');
  assert.equal(1 === 1);
  await click('.something-else');
  assert.equal(1 === 1);
})

```

At Discourse we are still on `2.13.3` today (Apr 2018). I was wondering… is it ok to start making the move now to the new patterns or do we need to hold out till we upgraded to `3.0` ?

---

<div class="post-metadata">

### Author: ![ef4](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/ef4/32/13470_2.png) [@ef4](https://discuss.emberjs.com/u/ef4)
#### Post date: [April 17, 2018, 12:43am UTC](https://discuss.emberjs.com/t/when-is-the-right-time-to-move-to-async-acceptance-tests/14553/2 "2018-04-17T00:43:39Z")

</div>

Your ember version won’ t be a problem, I’m using new-style tests in an addon that’s tested back to 2.12. You do need new enough ember-cli-qunit, and you’ll probably want other things that come with newer ember-cli versions, like the eslint configuration. But you won’t need anything that changes the actual ember app.

---

<div class="post-metadata">

### Author: ![rwjblue](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/rwjblue/32/9411_2.png) [@rwjblue](https://discuss.emberjs.com/u/rwjblue)
#### Post date: [April 17, 2018, 3:58am UTC](https://discuss.emberjs.com/t/when-is-the-right-time-to-move-to-async-acceptance-tests/14553/3 "2018-04-17T03:58:56Z")

</div>

The newer style testing setup (implementation wise) is tested back to Ember 2.4 so all should be well there. If you’d like to be able to use generators that emit the newer testing style without updating to Ember 3.0 first you can install [ember-qunit-nested-module-polyfill](https://www.npmjs.com/package/ember-qunit-nested-module-blueprints-polyfill) addon…
