GithubHelp home page GithubHelp logo

hunterloftis / component-test Goto Github PK

View Code? Open in Web Editor NEW
29.0 29.0 4.0 127 KB

An experiment to see what a simple node app would look like with "Components" from the @visionmedia blog

Perl 0.87% JavaScript 99.13%

component-test's Introduction

Notes

I'm a mediocre developer hacking away at hard problems. Whenever I figure something out, I write a note to myself so when I inevitably have the same problem in the future, I'll have a reference.

I've been doing this for years, locally, but just recently started pushing notes to a repo.

component-test's People

Contributors

hunterloftis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

component-test's Issues

All tests not passing


1) Browser of a registered user should get an error with bad credentials:                                                                                                                                                         [25/1915]
     TypeError: Cannot call method 'dispatchEvent' of undefined
      at Object.HTML.HTMLFormElement._dispatchSubmitEvent (/root/ctest/component-test/node_modules/zombie/lib/zombie/
forms.js:111:50)
      at Object.HTML.HTMLButtonElement._eventDefaults.click (/root/ctest/component-test/node_modules/zombie/lib/zombi
e/forms.js:220:21)
      at Object.define.proto.dispatchEvent (/root/ctest/component-test/node_modules/zombie/node_modules/jsdom/lib/jsd
om/level2/html.js:480:48)
      at EventLoop.dispatch (/root/ctest/component-test/node_modules/zombie/lib/zombie/eventloop.js:135:40)
      at Object.Windows._create.window._evaluate (/root/ctest/component-test/node_modules/zombie/lib/zombie/windows.j
s:271:23)
      at EventLoop.dispatch (/root/ctest/component-test/node_modules/zombie/lib/zombie/eventloop.js:134:14)
      at EventLoop.perform (/root/ctest/component-test/node_modules/zombie/lib/zombie/eventloop.js:120:5)
      at EventLoop.dispatch (/root/ctest/component-test/node_modules/zombie/lib/zombie/eventloop.js:131:10)
      at Browser.dispatchEvent (/root/ctest/component-test/node_modules/zombie/lib/zombie/browser.js:206:28)
      at Browser.fire (/root/ctest/component-test/node_modules/zombie/lib/zombie/browser.js:201:10)
      at Browser.pressButton (/root/ctest/component-test/node_modules/zombie/lib/zombie/browser.js:680:17)
      at Context. (/root/ctest/component-test/test/integration.test.js:41:10)
      at Test.Runnable.run (/root/ctest/component-test/node_modules/mocha/lib/runnable.js:171:15)
      at Runner.runTest (/root/ctest/component-test/node_modules/mocha/lib/runner.js:300:10)
      at Runner.runTests.next (/root/ctest/component-test/node_modules/mocha/lib/runner.js:346:12)
      at next (/root/ctest/component-test/node_modules/mocha/lib/runner.js:228:14)
      at Runner.hooks (/root/ctest/component-test/node_modules/mocha/lib/runner.js:237:7)
      at next (/root/ctest/component-test/node_modules/mocha/lib/runner.js:185:23)
      at Runner.hook (/root/ctest/component-test/node_modules/mocha/lib/runner.js:205:5)
      at process.startup.processNextTick.process._tickCallback (node.js:244:9)

  2) Browser of a registered user should be able to sign in with good credentials:
     TypeError: Cannot call method 'dispatchEvent' of undefined
      at Object.HTML.HTMLFormElement._dispatchSubmitEvent (/root/ctest/component-test/node_modules/zombie/lib/zombie/
forms.js:111:50)
      at Object.HTML.HTMLButtonElement._eventDefaults.click (/root/ctest/component-test/node_modules/zombie/lib/zombi
e/forms.js:220:21)
      at Object.define.proto.dispatchEvent (/root/ctest/component-test/node_modules/zombie/node_modules/jsdom/lib/jsd
om/level2/html.js:480:48)
      at EventLoop.dispatch (/root/ctest/component-test/node_modules/zombie/lib/zombie/eventloop.js:135:40)
      at Object.Windows._create.window._evaluate (/root/ctest/component-test/node_modules/zombie/lib/zombie/windows.j
s:271:23)
      at EventLoop.dispatch (/root/ctest/component-test/node_modules/zombie/lib/zombie/eventloop.js:134:14)
      at EventLoop.perform (/root/ctest/component-test/node_modules/zombie/lib/zombie/eventloop.js:120:5)
      at EventLoop.dispatch (/root/ctest/component-test/node_modules/zombie/lib/zombie/eventloop.js:131:10)
      at Browser.dispatchEvent (/root/ctest/component-test/node_modules/zombie/lib/zombie/browser.js:206:28)
      at Browser.fire (/root/ctest/component-test/node_modules/zombie/lib/zombie/browser.js:201:10)
      at Browser.pressButton (/root/ctest/component-test/node_modules/zombie/lib/zombie/browser.js:680:17)
      at Context. (/root/ctest/component-test/test/integration.test.js:54:10)
      at Test.Runnable.run (/root/ctest/component-test/node_modules/mocha/lib/runnable.js:171:15)
      at Runner.runTest (/root/ctest/component-test/node_modules/mocha/lib/runner.js:300:10)
      at Runner.runTests.next (/root/ctest/component-test/node_modules/mocha/lib/runner.js:346:12)
      at next (/root/ctest/component-test/node_modules/mocha/lib/runner.js:228:14)
      at Runner.hooks (/root/ctest/component-test/node_modules/mocha/lib/runner.js:237:7)
      at next (/root/ctest/component-test/node_modules/mocha/lib/runner.js:185:23)
      at Runner.hook (/root/ctest/component-test/node_modules/mocha/lib/runner.js:205:5)
      at process.startup.processNextTick.process._tickCallback (node.js:244:9)

  3) Browser of a registered user should be able to reload the dashboard:
     Error: timeout of 2000ms exceeded
      at Object. (/root/ctest/component-test/node_modules/mocha/lib/runnable.js:142:14)
      at Timer.list.ontimeout (timers.js:101:19)

  4) Browser of a registered user should be able to sign out:
     Error: No link matching 'Sign out'
      at Browser.clickLink (/root/ctest/component-test/node_modules/zombie/lib/zombie/browser.js:390:13)
      at Context. (/root/ctest/component-test/test/integration.test.js:70:15)
      at Test.Runnable.run (/root/ctest/component-test/node_modules/mocha/lib/runnable.js:171:15)
      at Runner.runTest (/root/ctest/component-test/node_modules/mocha/lib/runner.js:300:10)
      at Runner.runTests.next (/root/ctest/component-test/node_modules/mocha/lib/runner.js:346:12)
      at next (/root/ctest/component-test/node_modules/mocha/lib/runner.js:228:14)
      at Runner.hooks (/root/ctest/component-test/node_modules/mocha/lib/runner.js:237:7)
      at next (/root/ctest/component-test/node_modules/mocha/lib/runner.js:185:23)
      at Runner.hook (/root/ctest/component-test/node_modules/mocha/lib/runner.js:205:5)
      at process.startup.processNextTick.process._tickCallback (node.js:244:9)


make: *** [test-quick] Error 4

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.