chromedriver is crashing after 50 tests using xunit, gonna try mstest
p_l
.25
SitamJana has quit
jimevans
i think maybe i'll use a power drill on my temple. it'd be just as painful as trying to make all users happy, but i might eventually come to enjoy that.
eindoofus has quit
there's some contingent of users who expect elements with opacity=0 to be visible (isDisplayed == true), and some that expect those to be invisible (isDisplayed == false). it's simply impossible to make both sets of users happy.
update chromedriver to 2.15 and it still fails on the 40th test
MonkeysPaw
cweng: It may very be that chrome is executing too quickly. You may need to implement some waits.
cweng
consistently causes the chrome browser to freeze
arifaBatool joined the channel
fabrice31_ has quit
fabrice31 joined the channel
simonstewart
I wonder whether it's worth ripping out apache-httpclient and replacing with okhttp
sohlemac joined the channel
Probably worthless until htmlunit does the same
epteixeira joined the channel
sircapsalot
I'm sure this has been discussed / debated before⦠but when i was doing that pr, i was thinking⦠is there a specific reason we aren't using maven, ivy, or any other dependency management solution?
[13selenium] 15jimevans pushed 1 new commit to 06master: 02http://git.io/vJJhx
13selenium/06master 14698dc42 15Jim Evans: Changing IE driver to allow interaction with elements where opacity = 0...
andy_seit2 joined the channel
andy_seit has quit
arifaBatool has quit
cweng
MonkeysPaw: Should I just add implicit wait to the driver then?
jimevans
simonstewart: you wanna speak to sircapsalot's question? :)
jimevans goes to get popcorn
simonstewart
Which one?
jimevans
about dependency management solutions.
simonstewart
Because it's a fucking terrible idea
arifaBatool joined the channel
MonkeysPaw
cweng: I've had chrome do the same damn thing to me. FF and IE will work fine -ish, and chrome will behave for several tests and then it will just crap its pants for no discernable reason.
So I'll tack in a wait.
simonstewart
Maven destroys your ability to actually manage your third party deps while pretending it's helping
MonkeysPaw
I've been given the impression that explicit waits are preferable to implicit waits, however.
simonstewart
Downloading required deps from the web at build time destroys build times (natch) and increases build fragility
And means that someone who's frequently offline or has shitty connectivity can't do work
Until recently maven's public repos were only available over HTTP, leaving your builds open to MITM attacks
Maven dependencies are frequently poorly declared in poms
cristi has quit
So, you know, just an already shitty "solution" to a problem solved by being an adult and managing deps yourself
yenaemj joined the channel
ericmeds has quit
merobertsjr__ joined the channel
Got to go and chat to people about status codes. Wish me luck.
ericmeds joined the channel
yenaemj_ has quit
jimevans
good luck.
NOTICE: Project Build All Java build #5993: FAILURE in 11 min: http://ci.seleniumhq.org:8080/job/Build%20All%20Java/5993/
gabecase has quit
chef251 joined the channel
lukeis joined the channel
chef251
is there a way to wildcard version in cababilities? i tried '10.*', but that didn't work
losh has quit
alko
simonstewart: maven was a huge improvement over life before maven, and assuming all your dependencies are already on your local repo you don't need to get any of them over the web
also, they can all be in a local repository on your local network
eindoofus joined the channel
it is rather handy for managing multiple layers of internal builds as well.
the security issues are an interesting topic though.
the best thing about maven now perhaps though is that it is a standard.
it is rather self-evident though that i have different ideas about what is a best practice than the powers that be in this community, but what i found most frustrating was how difficult it was to load the java based grid code into an ide to debug it
when i asked others how they debugged it seemed to be by adding System.out.println() statements to the code and rebuilding it...
i am intrigued as to why people hate maven so much though :)
WhereIsMySpoon
i dont
maven/gradle are great
im not sure what simon's issue is
mhall_work
I also <3 maven
WhereIsMySpoon
not using maven doesnt exclude you from having to download new dependencies
neeti has quit
alko
indeed :)
WhereIsMySpoon
and if you want to stick to a specific version you can easily specify it
maven gives u nice depencency graphs
dependency*
alko
at least i'm not alone, thanks guys :D
mhall_work
I still don't see what the selling point of grid is though. Sounds to me like alot of pain for little benefit
alko
yup
cristi joined the channel
i didn't have so much pain with grid, and a lot of benefit
we had hundreds of vms running different oss, browsers, versions
mhall_work
if you don't mind giving me a few lines on it, learn me
WhereIsMySpoon
mhall_work: grid allows you to have your actual testing run on a separate vm/pc than the CI vm/pc
alko
and could run tons of tests in parallel via jenkins on all the browsers / vms / versions we wanted
WhereIsMySpoon
mhall_work: it is especially useful if you have a huge CI system and need to run multiple tests at once
but even for a small CI system with one node it is useful
mhall_work
so I hadn't thought about the idea of running tests on something other than the CI slave in that way, that's interesting.
We use browserstack
alko
in my experience, CI works best when all the tests can be run quickly, so that developers don't have to wait a long time after they commit to see if they broke anything
mhall_work
so thus, grid is moot for me
alko
i want to check that out - that is essentiall grid, outsourced to the cloud
mhall_work
alko +1
alko
we tried using saucelabs but it was so slow it was a joke
mhall_work
yeah saucelabs is saddening
eindoofus
we have a dashboard and up till now i've been throwing every method into the same DashboardPage page object, and every method happily returns the same DashboardPage object after I perform a method like searchDropdown(...). however, there is a part of the dashboard that is more complex and it would make sense to break it out if i can into another Page Object, however, i'm worried about loosing the flexibility i have now once i create a
DashboardSomeComponentPage object and enter that.
alko
others are also using cloud providers like aws
WhereIsMySpoon
eindoofus: have it inherit from the DashboardPage?
mhall_work
^^^
joshin4colours
my 2 cents
alko
when i get back home i am going to setup and run some benchmarks on cloud vm provider vs outsourced vs locally hosted solution performance
simonstewart
alko: Just open the selenium project in IntelliJ or Eclipse.
Everything works
joshin4colours
conceptually, maven is great, but in practice it can lead to crappy situations
eindoofus
makes sense. but what do i keep in the DashboardPage object and what do i put in subclasses?
WhereIsMySpoon
eindoofus: thats up to you
joshin4colours
sometimes our project "breaks" because our dependencies are out of date/incorrect