These are chat archives for mojotech/pioneer

13th
Aug 2014
Josh
@joshtombs
Aug 13 2014 13:16
what would a select method resolve with
like id assume it returns a promise but what does that promise resolve with
Sam Saccone
@samccone
Aug 13 2014 13:16
nothing?
Josh
@joshtombs
Aug 13 2014 13:17
alright
Josh
@joshtombs
Aug 13 2014 13:37
hmm how come its throwing an error for this
@find({selector: "#{selector} option [value=#{value}]"})
Sam Saccone
@samccone
Aug 13 2014 13:38
what is the error
Josh
@joshtombs
Aug 13 2014 13:39
InvalidElementStateError: invalid element state: Failed to execute 'querySelectorAll' on 'Document': 'select [object Object]' is not a valid selector.
Sam Saccone
@samccone
Aug 13 2014 13:39
looks like nested finds are not working correctly
ø_o
add a test case
hahah
Josh
@joshtombs
Aug 13 2014 13:50
okay i added a case
and it finds perfectly fine
Sam Saccone
@samccone
Aug 13 2014 13:50
wat
Josh
@joshtombs
Aug 13 2014 13:51
yeah
Josh
@joshtombs
Aug 13 2014 14:29
so how would the selector work with this, you want to click within an option?
so like
<select>
<option><button></option>
</select>
Sam Saccone
@samccone
Aug 13 2014 14:29
that is not valid
hhahah
Josh
@joshtombs
Aug 13 2014 14:30
yeah youre right
Sam Saccone
@samccone
Aug 13 2014 14:30
options only have text in them
ahahaha

pro

Josh
@joshtombs
Aug 13 2014 14:30
how would the selector work then
Josh
@joshtombs
Aug 13 2014 14:44
Screen Shot 2014-08-13 at 10.44.41 AM.png
much pull requests
Sam Saccone
@samccone
Aug 13 2014 14:45
such PR
wow
Josh
@joshtombs
Aug 13 2014 14:51
fixed up the refactor commit
Sam Saccone
@samccone
Aug 13 2014 14:51
wow
Josh
@joshtombs
Aug 13 2014 14:51
other ones are chillin :sunglasses:
Sam Saccone
@samccone
Aug 13 2014 14:51
hahah
yeah i am going to do the refactor commit first
because the others will blow up
Josh
@joshtombs
Aug 13 2014 14:52
okay
Josh
@joshtombs
Aug 13 2014 17:32
ping me when you make the prerelease
and ill start on that thing
with the stuff
Sam Saccone
@samccone
Aug 13 2014 17:32
yeah
soon
here i will
Josh
@joshtombs
Aug 13 2014 17:32
do it whenever
you can spend some tme on bunsen first idc
the test
we really shoud not use vars
:)
and I can remove a class while scoped
and I can toggle a class while scoped
and i can add a class while scoped
@joshtombs whatcha think
Josh
@joshtombs
Aug 13 2014 17:35
and I can remove a class while scoped
and I can toggle a class while scoped
and i can add a class while scoped
is referring to the naming of scenarios right?
and what var are you referring to? like in coffeescript?
Sam Saccone
@samccone
Aug 13 2014 17:40
yeah
Josh
@joshtombs
Aug 13 2014 17:42
so rename the scenarios?
or
condense them
Sam Saccone
@samccone
Aug 13 2014 17:45
no vars in steps
right?
Josh
@joshtombs
Aug 13 2014 17:46
okay, i only did that because i reused some steps
Sam Saccone
@samccone
Aug 13 2014 17:46
ø—ø
Josh
@joshtombs
Aug 13 2014 18:20
@samccone not sure if it sent you a notification because it was a comment on a random commit that was merged to 0.8 but theres an issue with the scaffold
the test that it creates doesnt pass when in a brand new directory
error being that it can't require selinium webdriver
not sure if that has to do with me not npm installing or what idk
Josh
@joshtombs
Aug 13 2014 19:57
so how do you want me to "get started"
with a scaffold?
would make sense right
Sam Saccone
@samccone
Aug 13 2014 19:57
sure
be nice to test most of the todo mvc app
also give you a chance to play around with pioneer :)
Sam Saccone
@samccone
Aug 13 2014 20:14
@joshtombs
pioneer getting started
is a bad name ahahah
it is more like a pioneer example
people can clone this repo
and run it
and it should have a bunch of tests
Josh
@joshtombs
Aug 13 2014 20:15
:thumbsup:
makes more sense
weve done getting started a million times
Sam Saccone
@samccone
Aug 13 2014 20:15
hahah
yeah
Josh
@joshtombs
Aug 13 2014 20:16
do you want me to fix all of these features so that they dont use variable
Sam Saccone
@samccone
Aug 13 2014 20:17
plzzzz
Josh
@joshtombs
Aug 13 2014 20:17
ighttt
Sam Saccone
@samccone
Aug 13 2014 20:17
iiiiillllrriiggghhht
or you can do whatever
Josh
@joshtombs
Aug 13 2014 20:18
okay, you just want a thorough example