Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use esa in acceptance tests ?? import ? configurations ? #1315

Closed
BnitoBzh opened this issue May 3, 2017 · 4 comments
Closed

How to use esa in acceptance tests ?? import ? configurations ? #1315

BnitoBzh opened this issue May 3, 2017 · 4 comments
Labels

Comments

@BnitoBzh
Copy link

BnitoBzh commented May 3, 2017

No description provided.

@marcoow
Copy link
Member

marcoow commented May 3, 2017

@BnitoBzh
Copy link
Author

BnitoBzh commented May 3, 2017

I already add this import, but it doesn't work ... is there any other configuration ?

@BnitoBzh
Copy link
Author

BnitoBzh commented May 3, 2017

not ok 8 PhantomJS 2.1 - Acceptance | login: visiting /login should redirect to / when user is connected
    ---
        actual: >
            null
        expected: >
            null
        stack: >
            authenticateSession@http://localhost:7357/assets/tests-78332128ddd696f21735d10ded231ff8.js:234:24
            http://localhost:7357/assets/tests-78332128ddd696f21735d10ded231ff8.js:24:61
            runTest@http://localhost:7357/assets/test-support-bf3770aa0cec70dbf5edbf4f4330b09c.js:3852:34
            run@http://localhost:7357/assets/test-support-bf3770aa0cec70dbf5edbf4f4330b09c.js:3838:13
            http://localhost:7357/assets/test-support-bf3770aa0cec70dbf5edbf4f4330b09c.js:4030:15
            advance@http://localhost:7357/assets/test-support-bf3770aa0cec70dbf5edbf4f4330b09c.js:3515:26
            begin@http://localhost:7357/assets/test-support-bf3770aa0cec70dbf5edbf4f4330b09c.js:5206:27
            http://localhost:7357/assets/test-support-bf3770aa0cec70dbf5edbf4f4330b09c.js:4400:11
        message: >
            Died on test #1 http://localhost:7357/assets/tests-78332128ddd696f21735d10ded231ff8.js:23:19
            exports@http://localhost:7357/assets/vendor-b57f2d4134d0ddfd0190099e4e4ae7ec.js:119:37
            requireModule@http://localhost:7357/assets/vendor-b57f2d4134d0ddfd0190099e4e4ae7ec.js:34:25
            require@http://localhost:7357/assets/test-support-bf3770aa0cec70dbf5edbf4f4330b09c.js:7672:14
            loadModules@http://localhost:7357/assets/test-support-bf3770aa0cec70dbf5edbf4f4330b09c.js:7664:21
            load@http://localhost:7357/assets/test-support-bf3770aa0cec70dbf5edbf4f4330b09c.js:7694:33
            http://localhost:7357/assets/test-support-bf3770aa0cec70dbf5edbf4f4330b09c.js:7577:22: undefined is not an object (evaluating 'app.__container__')
        Log: |
    ...

@marcoow
Copy link
Member

marcoow commented May 4, 2017

You need to provide some detail to enable people to help you with this (ideally just the source of your acceptance test file). You can have a look at Ember Simple Auth's own acceptance tests for guidance: https://github.com/simplabs/ember-simple-auth/blob/master/tests/acceptance/authentication-test.js#L36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants