For some reason, on the last test run, all the Goutte-based tests failed (only 3 tests) whereas all the Selenium-based tests passed:
Feature: Demo content
In order to test out the site
As a site owner
I need to view demo content
Scenario: Homepage
Given I am an anonymous user
Was unable to parse malformed url: //http27.0.0.1:8888/demo
When I visit "/"
Then the "h1" element should contain "Homepage Demo"
It's got to be the "malformed url" bit.
I suspect a newer version of something (maybe Goutte itself) was released which is now failing. Travis-CI redownloads Behat and all it's dependencies on every run.
I'm updating my stuff locally and will see if I can reproduce.
Comments
Comment #1
dsnopekSo far I've been unable to reproduce this. :-/
Comment #2
dsnopekUgh, this is really frustrating! I've been trying all sorts of things and pushing them to Travis-CI, but no luck. I'm thinking about temporarily switching all Goutte tests (only 3) to Selenium just so I can continue committing things...
Comment #3
dsnopekTried even more random changes - no luck still. :-/
So, I opened an issues with Travis-CI and Mink:
https://github.com/travis-ci/travis-ci/issues/2157
https://github.com/Behat/Mink/issues/486
Not sure how active their communities are, but it's worth a try!
Comment #5
dsnopekGot some great help from the Mink team! Turns out this is a regression in Symfony 2.4.3, which came out two weeks or so ago. I've pinned Symfony 2.4.2 in our composer.json which fixed the problem on my GitHub fork. Here's to hoping this fixes it in the main repo too! :-)