These are chat archives for whereat/contrib

2nd
Apr 2016
ziggy
@aepyornis
Apr 02 2016 14:33
Question to folks: for the encrypt text box thing that I've working on, how important is it to have Functional tests?
or perhaps a better question: has anyone figured out the whole testId/ select element by id thing with our testing setup.
It's not that I don't want to write functional test...I do...but....After trying so many possibilities with elementByXPath, I can't get selenium to find the element I want.
aguestuser
@aguestuser
Apr 02 2016 18:53
few thoughts: (1) please write functional tests!, (2) don't blame you for getting frustrated trying to guess the xpath! i ran up against the same thing and discovered the wonderful uiautomatorviewer utility. (which you can launch from the comand line with android uiautomatorviewer) it gives you something like an inspect element option you're used to with developer tools for HTML. so you don't have to guess the xpath, you can just directly inspect the layout in the uiautomatorviewer and find it!
but perhaps you've already tried this? if so, have you pulled down @brmenchl 's latest PR to the RN repo? pretty sure he figured out the testId workflow there? (checking real quick...)
hmm... no dice. looks like brmenchl/whereat-native@11b7666 is the latest commit. ey yo @brmenchl : you got the secret sauce for those testId ui tests you could share with us? :smile:
aguestuser
@aguestuser
Apr 02 2016 19:02
as a first crack... does this help?
Alexander Martin
@alxmrtn
Apr 02 2016 19:19
can we officially deprecate slack? are we deprecating slack?
or I should fix the slack ci notifications
aguestuser
@aguestuser
Apr 02 2016 19:20
i say deprecate! (a few less phone beeps during my day never hurt. ;))
i just don't want to actually delete the room(s) just yet because we dumped an awful lot of useful links into them as a transient repository of stuff we were learning...
btw: asking recurse center yielded some support for going with travis and a link to a nifty new CI platform called concourse: http://concourse.ci/
ziggy
@aepyornis
Apr 02 2016 19:24
Those do help. Let me try it again. I was inspecting the layout with android's uiautomatorviewer and strangely the path was still not being found by selenium.
aguestuser
@aguestuser
Apr 02 2016 19:26
cool! also if you have to pull your hair out (just to make sure that a string shows up in a box) by all means let's talk pro/cons and what value is actually added by theses tests. :smile:
ps: @alxmrtn, @pnasrat this bit in the concourse docs was pretty illuminated to CI n00b me as to what some of the general trade-offs are with all the different platforms in the ecosystem
Alexander Martin
@alxmrtn
Apr 02 2016 19:27
it came out like a week ago, it's uber new, so I'm a little hesitant, but it's self host ble right?
aguestuser
@aguestuser
Apr 02 2016 19:28
yeah, also (from the "vs" article): "[Travis] also has great support for building your GitHub pull requests. This is something that Concourse cannot yet do but we have plans to allow the same workflow in the future."
Alexander Martin
@alxmrtn
Apr 02 2016 19:30
eesh