These are chat archives for mojotech/pioneer

31st
Jul 2014
Sam Saccone
@samccone
Jul 31 2014 15:14
yo @JSteunou
so basically
it is kinda like casper
but much better because I have implemented an entire view layer ontop
Jérôme Steunou
@JSteunou
Jul 31 2014 15:15
so what are the benefits?
Sam Saccone
@samccone
Jul 31 2014 15:15
so it feels very familer to marionette and backbone views
so 1 you write in cucumber
basically it is all about the API we have ontop of the web browser :)
Jérôme Steunou
@JSteunou
Jul 31 2014 15:20
ok
so it can launch your test in a real browser
all browsers?
and the user have the prioneer API to interact with the top view
Sam Saccone
@samccone
Jul 31 2014 15:25
yeppp!
firefox + chrome + safari + phantomjs + opera + ie
it is great
Jérôme Steunou
@JSteunou
Jul 31 2014 15:28
humm nice
ended having a common view API on top is nice and universal
whereas casperjs is limited to chrome & firefox
indeed*
Sam Saccone
@samccone
Jul 31 2014 15:29
:)
Jérôme Steunou
@JSteunou
Jul 31 2014 15:29
you sold it :p
but about the name, be careful
Sam Saccone
@samccone
Jul 31 2014 15:30
heh :P
if we are that popular that it is an issue
i will be happy
Jérôme Steunou
@JSteunou
Jul 31 2014 15:30
ahaha
Josh
@joshtombs
Jul 31 2014 15:31
haha is pioneer somehting big alrdy?
Josh
@joshtombs
Jul 31 2014 15:31
oooo
Jérôme Steunou
@JSteunou
Jul 31 2014 15:34
I dont know for you but there is a lot of pioneer stuff here
car sound, home sound
Josh
@joshtombs
Jul 31 2014 15:38
yeah ive never seen it personally. but id be cool to get that big :sunglasses:
Josh
@joshtombs
Jul 31 2014 17:21
fixed up that config commit.. i left a comment for you but its prty much functioning as you'd think
Sam Saccone
@samccone
Jul 31 2014 17:21
bam
Josh
@joshtombs
Jul 31 2014 17:23
that minimist was nice
Sam Saccone
@samccone
Jul 31 2014 17:23
yeah
Josh
@joshtombs
Jul 31 2014 17:25
also, i left my latest commit out of it to make sure that if there were any changes/malfunctions it would be easy to change
Sam Saccone
@samccone
Jul 31 2014 17:25
gotcha
Josh
@joshtombs
Jul 31 2014 17:25
ill obv fixup when its rdy
Josh
@joshtombs
Jul 31 2014 17:34
haha i actually caught a few changes including that unused method before i saw your comment, thats updated
and i just made doc changes... but i can unstage all of them an just make a new doc
Josh
@joshtombs
Jul 31 2014 18:53
@samccone is there anything for the www we need? or is that prty much just on standby for designers
Sam Saccone
@samccone
Jul 31 2014 18:53
standby until design
are you out of stuff?
Josh
@joshtombs
Jul 31 2014 18:53
haha yup
Sam Saccone
@samccone
Jul 31 2014 18:53
all my comments are ready?
Josh
@joshtombs
Jul 31 2014 18:53
yeah i fixed up all of the PRs out, except readAT
which is bugged
Sam Saccone
@samccone
Jul 31 2014 18:53
why?
Josh
@joshtombs
Jul 31 2014 18:53
ive had them done for a bit but didnt want to keep pinging you
im not sure, when you don't send it a selector it returns a 0
which is strange, as there are no 0's in the fixture
Sam Saccone
@samccone
Jul 31 2014 18:54
readAt reads the attribute first
then gets the innerText
Josh
@joshtombs
Jul 31 2014 18:55
so the value is 0?
Sam Saccone
@samccone
Jul 31 2014 18:55
is it an input?
Josh
@joshtombs
Jul 31 2014 18:55
no, im trying to read a LI
should be an easier case than reading with a seelctor
it just strange, that the result of a read would be 0, instead of the text inside the li
Sam Saccone
@samccone
Jul 31 2014 18:59
……
indeed
that is strange
Josh
@joshtombs
Jul 31 2014 19:18
Screen Shot 2014-07-31 at 3.18.34 PM.png
i still get that error on readAT
Josh
@joshtombs
Jul 31 2014 19:34
okay went thru all those PRs again
Sam Saccone
@samccone
Jul 31 2014 19:34
woo
sorry endless stream of comments
Josh
@joshtombs
Jul 31 2014 19:35
haha idc its better than releasing something buggy
Sam Saccone
@samccone
Jul 31 2014 19:35
:)
Josh
@joshtombs
Jul 31 2014 19:37
that is.. all the PRs except for readAt
Sam Saccone
@samccone
Jul 31 2014 19:37
any idea about that one?
Josh
@joshtombs
Jul 31 2014 19:37
i still need to get that test
i have no idea why it would return 0
  @When /^I read at the "([^"]*)" index of ul I should see "([^"]*)"$/, (index, expected) ->
    new @Widgets.List()
    .readAt(+index-1)
    .should.eventually.eql(expected)
pretty straightforward test
Josh
@joshtombs
Jul 31 2014 19:49
@samccone rebased all my branches so they should all be mergable now
again, except read-at
Sam Saccone
@samccone
Jul 31 2014 19:50
lol
debug dat
i know you can get it
Josh
@joshtombs
Jul 31 2014 20:01
how
does
if(0)
result
in true