These are chat archives for canjs/canjs

29th
May 2015
Patrick Clancy
@patrickclancy
May 29 2015 11:39
@alexisabril It would be nice. :sparkles:
Patrick Clancy
@patrickclancy
May 29 2015 13:36

@daffl Do you know which version of phantomjs works with testee on the mac? I’ve installed 1.8.2 with homebrew and I’m still getting the timeout error. Testee works great in my other installed browsers. (safari, chrome…)

patrickclancy$ phantomjs —version -> 1.8.2

  status: 'failed',
  err: 
   { [Error: Browser timed out within 120 seconds]
     message: 'Browser timed out within 120 seconds',
     stack: 'Error: Browser timed out within 120 seconds\n    at testTimedOut [as _onTimeout] (/Users/patrickclancy/.nvm/v0.10.29/lib/node_modules/testee/lib/runner.js:43:42)\n    at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)',
     title: 'http://localhost:3996/test/test.html?__token=hdh3gc on {"browser":"phantom"}' },
  title: 'http://localhost:3996/test/test.html?__token=hdh3gc on {"browser":"phantom"}' }
  1) http://localhost:3996/test/test.html?__token=hdh3gc on {"browser":"phantom"}
  testee:reporter updating run +0ms { status: 'finished',
  id: 'b87f411d-4fcd-47c3-9d30-2fe14dd7af0e',
  title: 'General error' }

  0 passing (2m)
  1 failing

  1) General error http://localhost:3996/test/test.html?__token=hdh3gc on {"browser":"phantom"}:
     Error: Browser timed out within 120 seconds
      at testTimedOut [as _onTimeout] (/Users/patrickclancy/.nvm/v0.10.29/lib/node_modules/testee/lib/runner.js:43:42)
      at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)
Patrick Clancy
@patrickclancy
May 29 2015 20:01
Is there a way to work wih radio buttons, can-value and true/false values? I seem to remember that using the define plugin and type: ‘htmlbool’ worked but I was wrong.
Alexis Abril
@alexisabril
May 29 2015 22:20
@patrickclancy can-value can be set on a radio button, but I might be misunderstanding: http://jsbin.com/yexiji/2/edit?js,console,output