fmoo / react-typeahead

Pure react-based typeahead and typeahead-tokenizer
ISC License
677 stars 229 forks source link

Test failures on master #229

Open ahernandez-miralles opened 7 years ago

ahernandez-miralles commented 7 years ago

I'm getting 38 test failures on the master branch... I ran npm i followed by gulp test. Is this a known issue?


[15:35:56] Starting 'test'...

  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․

  43 passing (155ms)
  38 failing

  1) Typeahead Component sanity should fuzzy search and render matching results:
     AssertionError: Text input: o: expected 0 to equal 3
      at file:///Users/ayhernandez/repos/react-typeahead/test/bundle.js:2005
      at file:///Users/ayhernandez/repos/react-typeahead/test/bundle.js:3564
      at file:///Users/ayhernandez/repos/react-typeahead/test/bundle.js:43478
      at file:///Users/ayhernandez/repos/react-typeahead/test/bundle.js:10867
      at file:///Users/ayhernandez/repos/react-typeahead/test/bundle.js:12072
      at forEach (file:///Users/ayhernandez/repos/react-typeahead/test/bundle.js:13269)
      at file:///Users/ayhernandez/repos/react-typeahead/test/bundle.js:43479
      at callFn (file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4452)
      at file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4445
      at file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4847
      at file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4938
      at next (file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4772)
      at file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4782
      at next (file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4720)
      at file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4744
      at done (file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4408)
      at callFn (file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4463)
      at file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4445
      at next (file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4745)
      at file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4749
      at timeslice (file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:6015)

  2) Typeahead Component sanity does not change the url hash when clicking on options:
     Error: Did not find exactly one match for tag:a
      at file:///Users/ayhernandez/repos/react-typeahead/test/bundle.js:30984
      at file:///Users/ayhernandez/repos/react-typeahead/test/bundle.js:43485
      at callFn (file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4452)
      at file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4445
      at file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4847
      at file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4938
      at next (file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4772)
      at file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4782
      at next (file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4720)
      at file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4744
      at done (file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4408)
      at callFn (file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4463)
      at file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4445
      at next (file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4745)
      at file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4749
      at timeslice (file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:6015)

...

[15:35:57] 'test' errored after 1.11 s
[15:35:57] Error in plugin 'gulp-mocha-phantomjs'
test failed```
fmoo commented 7 years ago

Unfortunately, yes. This is also blocking the next major release and prevents us from coming out of RC.

On Jan 31, 2017, at 3:39 PM, Freddy Hernandez notifications@github.com wrote:

I'm getting 38 test failures on the master branch... I ran npm i followed by gulp test. Is this a known issue?

[15:35:56] Starting 'test'...

․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․ ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․

43 passing (155ms) 38 failing

1) Typeahead Component sanity should fuzzy search and render matching results: AssertionError: Text input: o: expected 0 to equal 3 at file:///Users/ayhernandez/repos/react-typeahead/test/bundle.js:2005 at file:///Users/ayhernandez/repos/react-typeahead/test/bundle.js:3564 at file:///Users/ayhernandez/repos/react-typeahead/test/bundle.js:43478 at file:///Users/ayhernandez/repos/react-typeahead/test/bundle.js:10867 at file:///Users/ayhernandez/repos/react-typeahead/test/bundle.js:12072 at forEach (file:///Users/ayhernandez/repos/react-typeahead/test/bundle.js:13269) at file:///Users/ayhernandez/repos/react-typeahead/test/bundle.js:43479 at callFn (file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4452) at file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4445 at file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4847 at file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4938 at next (file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4772) at file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4782 at next (file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4720) at file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4744 at done (file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4408) at callFn (file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4463) at file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4445 at next (file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4745) at file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4749 at timeslice (file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:6015)

2) Typeahead Component sanity does not change the url hash when clicking on options: Error: Did not find exactly one match for tag:a at file:///Users/ayhernandez/repos/react-typeahead/test/bundle.js:30984 at file:///Users/ayhernandez/repos/react-typeahead/test/bundle.js:43485 at callFn (file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4452) at file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4445 at file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4847 at file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4938 at next (file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4772) at file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4782 at next (file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4720) at file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4744 at done (file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4408) at callFn (file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4463) at file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4445 at next (file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4745) at file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:4749 at timeslice (file:///Users/ayhernandez/repos/react-typeahead/node_modules/mocha/mocha.js:6015)

...

[15:35:57] 'test' errored after 1.11 s [15:35:57] Error in plugin 'gulp-mocha-phantomjs' test failed``` — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

ahernandez-miralles commented 7 years ago

Got it, thanks for the quick response. Is there another issue documenting this? (I did a brief search but didn't find one)

fmoo commented 7 years ago

There might be, but let's use this one.​