mardi 22 mars 2016

How do I specify query parameters in my ember qunit acceptance test?

I have a component that help with resetting a password.

Here is a snippet of code from that component: enter image description here

This works fine when I test it manually, and I can verify that resetToken gets set (and is eventually passed back to my server to set the new password).

However, in my tests, the queryParams variable is empty.

In my test, this is how I'm attempting to set the URL / query params: enter image description here

So, why are the query params empty in the test?

Aucun commentaire:

Enregistrer un commentaire