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

Failing tests on current master (win7, IE10) #151

Closed
fpauser opened this issue Apr 6, 2016 · 0 comments · Fixed by #171
Closed

Failing tests on current master (win7, IE10) #151

fpauser opened this issue Apr 6, 2016 · 0 comments · Fixed by #171

Comments

@fpauser
Copy link

fpauser commented Apr 6, 2016

After finding out that (GET) requests could not be intercepted using IE10 in my tests I ran the pretender-tests (official ms win7-IE10-vm) with the following results:

IE 10.0.0 (Windows 7 0.0.0) passthrough requests allows matched paths to be pass-through FAILED
    Expected: "/some/path"
    Actual: "some/path"
       at passthroughRequest (/home/fpauser/dev/open-source/pretender/test/passthrough_test.js:25:7)
       at checkPassthrough (/home/fpauser/dev/open-source/pretender/pretender.js:9:13014)
       at send (/home/fpauser/dev/open-source/pretender/pretender.js:9:4072)
       at send (/home/fpauser/dev/open-source/pretender/bower_components/jquery/dist/jquery.js:8630:6)
       at ajax (/home/fpauser/dev/open-source/pretender/bower_components/jquery/dist/jquery.js:8166:5)
       at Anonymous function (/home/fpauser/dev/open-source/pretender/test/passthrough_test.js:29:5)

06 04 2016 12:33:57.153:WARN [web-server]: 404: /some/path
....06 04 2016 12:33:57.208:WARN [web-server]: 404: /some/otherpath
06 04 2016 12:33:57.235:WARN [web-server]: 404: /some/otherpath
..........
IE 10.0.0 (Windows 7 0.0.0) parseURL > relative HTTP URLs pathname, fullpath, protocol, hash and search are correct FAILED
    protocol should be "http:"
    Expected: "http:"
    Actual: ":"
       at Anonymous function (/home/fpauser/dev/open-source/pretender/test/url_parsing_test.js:12:7)
       at runTest (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:843:4)
       at run (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:828:4)
       at Anonymous function (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:970:6)
       at process (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:629:4)
       at begin (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:611:2)

    pathname should be "/mock/my/request"
    Expected: "/mock/my/request"
    Actual: "mock/my/request"
       at Anonymous function (/home/fpauser/dev/open-source/pretender/test/url_parsing_test.js:13:7)
       at runTest (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:843:4)
       at run (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:828:4)
       at Anonymous function (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:970:6)
       at process (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:629:4)
       at begin (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:611:2)

    hostname is equal to "10.132.144.40:9876"
    Expected: "10.132.144.40:9876"
    Actual: ""
       at Anonymous function (/home/fpauser/dev/open-source/pretender/test/url_parsing_test.js:14:7)
       at runTest (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:843:4)
       at run (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:828:4)
       at Anonymous function (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:970:6)
       at process (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:629:4)
       at begin (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:611:2)

    fullpath should be "/mock/my/request?test=abc#def"
    Expected: "/mock/my/request?test=abc#def"
    Actual: "mock/my/request?test=abc#def"
       at Anonymous function (/home/fpauser/dev/open-source/pretender/test/url_parsing_test.js:17:7)
       at runTest (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:843:4)
       at run (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:828:4)
       at Anonymous function (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:970:6)
       at process (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:629:4)
       at begin (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:611:2)

IE 10.0.0 (Windows 7 0.0.0) parseURL > same-origin absolute HTTP URLs pathname, fullpath, protocol, hash and search are correct FAILED
    pathname should be "/mock/my/request"
    Expected: "/mock/my/request"
    Actual: "mock/my/request"
       at Anonymous function (/home/fpauser/dev/open-source/pretender/test/url_parsing_test.js:13:7)
       at runTest (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:843:4)
       at run (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:828:4)
       at Anonymous function (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:970:6)
       at process (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:629:4)
       at begin (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:611:2)

    fullpath should be "/mock/my/request?test=abc#def"
    Expected: "/mock/my/request?test=abc#def"
    Actual: "mock/my/request?test=abc#def"
       at Anonymous function (/home/fpauser/dev/open-source/pretender/test/url_parsing_test.js:17:7)
       at runTest (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:843:4)
       at run (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:828:4)
       at Anonymous function (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:970:6)
       at process (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:629:4)
       at begin (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:611:2)

IE 10.0.0 (Windows 7 0.0.0) parseURL > cross-origin absolute HTTP URLs pathname, fullpath, protocol, hash and search are correct FAILED
    pathname should be "/mock/my/request"
    Expected: "/mock/my/request"
    Actual: "mock/my/request"
       at Anonymous function (/home/fpauser/dev/open-source/pretender/test/url_parsing_test.js:13:7)
       at runTest (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:843:4)
       at run (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:828:4)
       at Anonymous function (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:970:6)
       at process (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:629:4)
       at begin (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:611:2)

    hostname is equal to "www.yahoo.com"
    Expected: "www.yahoo.com"
    Actual: "www.yahoo.com:443"
       at Anonymous function (/home/fpauser/dev/open-source/pretender/test/url_parsing_test.js:14:7)
       at runTest (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:843:4)
       at run (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:828:4)
       at Anonymous function (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:970:6)
       at process (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:629:4)
       at begin (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:611:2)

    fullpath should be "/mock/my/request?test=abc"
    Expected: "/mock/my/request?test=abc"
    Actual: "mock/my/request?test=abc"
       at Anonymous function (/home/fpauser/dev/open-source/pretender/test/url_parsing_test.js:17:7)
       at runTest (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:843:4)
       at run (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:828:4)
       at Anonymous function (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:970:6)
       at process (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:629:4)
       at begin (/home/fpauser/dev/open-source/pretender/node_modules/qunitjs/qunit/qunit.js:611:2)

IE 10.0.0 (Windows 7 0.0.0): Executed 51 of 51 (4 FAILED) (2.758 secs / 2.819 secs)
TOTAL: 4 FAILED, 149 SUCCESS
dwickern added a commit to dwickern/pretender that referenced this issue Sep 29, 2016
I added various workarounds to make the tests pass in IE.
All tests pass in IE11.

closes pretenderjs#151
dwickern added a commit to dwickern/pretender that referenced this issue Sep 29, 2016
I added various workarounds to make the tests pass in IE11.

closes pretenderjs#151
dwickern added a commit to dwickern/pretender that referenced this issue Sep 29, 2016
I added various workarounds to make the tests pass in IE11.

closes pretenderjs#151
dwickern added a commit to dwickern/pretender that referenced this issue Sep 29, 2016
I added various workarounds to make the tests pass in IE11.

closes pretenderjs#151
@trek trek closed this as completed in #171 Oct 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant