# Conflicting acceptance tests

**URL:** <https://discuss.emberjs.com/t/conflicting-acceptance-tests/8341>\
**Category:** Testing\
**Created:** [July 9, 2015, 9:57am UTC](https://discuss.emberjs.com/t/conflicting-acceptance-tests/8341 "2015-07-09T09:57:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tschoartschi](https://avatars.discourse-cdn.com/v4/letter/t/f0a364/32.png) [@tschoartschi](https://discuss.emberjs.com/u/tschoartschi)\
**Post date:** [July 9, 2015, 9:57am UTC](https://discuss.emberjs.com/t/conflicting-acceptance-tests/8341/1 "2015-07-09T09:57:07Z")

</div>

Hey!

I have a similar problem as described in the following StackOverflow thread ([for more details click here](http://stackoverflow.com/questions/25476532/conflicting-acceptance-tests)).

Basically I just tried to visit the login page and then visit the signup page. Therefore I created two acceptance tests. If I run them seperate then everything works fine, if I run them after each other the assertion is nut fullfilled because currentPath() is undefined in the test I run as second. Which means:

Run after each other results in following behaviour:

```
tests/acceptance/login --> currentPath() === 'login'
tests/acceptance/signup --> currentPath() !== 'signup' because currentPath is undefined
OR
tests/acceptance/signup --> currentPath() === 'signup'
tests/acceptance/login --> currentPath() !== 'login' because currentPath is undefined

```

Run them seperately:

```
tests/acceptance/login --> currentPath() === 'login' --> PASS

tests/acceptance/signup --> currentPath() !== 'signup' because currentPath is undefined --> FAIL

```

Do you have an ideas where I can start to debug this issue? It’s so hard to get a trace 😕 because there are so many libraries involveld and I’m still a newbie to the whole ember universe.

I use:  
ember 1.13.0  
ember-data 1.0.0.beta19.1  
ember-cli 0.2.7  
ember-cli-mocha 0.8.0  
ember-cli-page-object 0.5.0  
ember-data-factory-guy 1.1.1  
ember-cli-simple-auth 0.8.0

Thanks for any help!

---

<div class="post-metadata">

**Author:** ![tschoartschi](https://avatars.discourse-cdn.com/v4/letter/t/f0a364/32.png) [@tschoartschi](https://discuss.emberjs.com/u/tschoartschi)\
**Post date:** [July 13, 2015, 6:30am UTC](https://discuss.emberjs.com/t/conflicting-acceptance-tests/8341/2 "2015-07-13T06:30:20Z")

</div>

Has anyone an idea how to tackle this problem? I still found no solution… please help me 😉 how could I provide more information so you can help me? I feel a little bit lost on this problem
