Hey Mario, one thing I noticed just looking at the code you posted is that a click helper is asynchronous, so you should always use it outside of any andThen block. So I would rewrite the one snippet like so:
Another thing which I’d highly recommend is using ember-cli-page-object. The examples on their docs site are really the best way to get a handle on how it’s used, but… essentially you create these “Page Objects” which are an abstract representation of the page and all the jquery selectors and test selectors, then give them functions. Then in your test instead of writing ‘find’ and ‘click’ a bunch along with a lot of repeated jquery selectors, you just reference the page object. It saves code repetition, makes the tests look a lot cleaner, and the page objects are reusable across tests. It’s a great addon and I can’t recommend it highly enough.