ember-a11y / ember-a11y-testing

A suite of accessibility tests that can be run within the Ember testing framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Integration test - "axeCallback throws an error if it is not a function" is failing

sarbbottam opened this issue · comments

axeCallback throws an error if it is not a function is failing for me.

Anyone else experiencing the same?

not ok 37 PhantomJS 2.1 - Integration | Instance Initializer | axe-component: axeCallback throws an error if it is not a function
    ---
        actual: >
            false
        expected: >
            true
        stack: >
            exception@http://localhost:7357/assets/test-support.js:14246:49
            adapterDispatch@http://localhost:7357/assets/vendor.js:50285:22
            dispatchError@http://localhost:7357/assets/vendor.js:28554:23
            invokeWithOnError@http://localhost:7357/assets/vendor.js:10918:14
            flush@http://localhost:7357/assets/vendor.js:10974:15
            flush@http://localhost:7357/assets/vendor.js:11098:20
            end@http://localhost:7357/assets/vendor.js:11168:28
            run@http://localhost:7357/assets/vendor.js:11282:19
            run@http://localhost:7357/assets/vendor.js:33259:32
            render@http://localhost:7357/assets/test-support.js:15143:30
            http://localhost:7357/assets/tests.js:575:19
            throws@http://localhost:7357/assets/test-support.js:4613:17
            http://localhost:7357/assets/tests.js:574:18
            runTest@http://localhost:7357/assets/test-support.js:3700:34
            run@http://localhost:7357/assets/test-support.js:3686:13
            http://localhost:7357/assets/test-support.js:3864:15
            process@http://localhost:7357/assets/test-support.js:5098:26
            begin@http://localhost:7357/assets/test-support.js:5081:11
            http://localhost:7357/assets/test-support.js:4298:11
        message: >
            Error: Assertion Failed: axeCallback should be a function.
        Log: |
            { type: 'error', text: 'null\n' }

screen shot 2017-03-17 at 7 37 23 pm

Steps followed

  1. forked and cloned the fork
  2. npm i && bower install
  3. ember test

So this is a bug. Apparently that test was never passing, but ember-try was not properly reporting the failure. I'll have a fix soon.