testing - Behat/Mink: how can I evaluate a xml response -
i trying test rss feed via behat/mink. unfortunately getting error message time:
the current node list empty.
does know how test xml response (search string in xml) via behat/mink?
edit
i need find way, , best running behat/mink. if thats not possible @ all, can live workaround too. example on how great!
in featurecontext.php file can raw content by
$xml = $this->getsession()->getdriver()->getcontent();
and can use regex/domdocument test returned xml content.
Comments
Post a Comment