php - Running Behat tests from Jenkins -


i'm trying run behat (3.0.15) tests jenkins behat raising failed steps.

for example step:

and should click header "cómo funciona" link 

the error:

and should click header "c??mo funciona" link # test_behavior/resources/features/web/staticpages/como_funciona.feature:9      [exec]       "clickcmofuncionalink" method not available on header (badmethodcallexception) 

our build.xml

<target name="behat">     <exec executable="vendor/bin/behat" failonerror="true">         <arg value="--tags=~@skip"/>         <arg value="--profile=jenkins"/>         <arg value="--format=progress"/>     </exec> </target> 

and our behat.yml

default:   suites:     default:       paths: [%paths.base%/test_behavior/resources/features/web]       contexts:         - testbehavior\context\basecontext     service:       paths: [%paths.base%/test_behavior/resources/features/services]       contexts:         - testbehavior\context\basecontext         - testbehavior\context\servicecontext:           - http://xxxx     command:       paths: [%paths.base%/test_behavior/resources/features/commands]       contexts:         - testbehavior\context\basecontext:           - false         - testbehavior\context\commandcontext   extensions:     behat\minkextension:       base_url: http://xxxxx:8080       browser_name: chrome       selenium2:         wd_host: 10.0.2.2:4444/wd/hub       show_cmd: open -a google\ chrome %s     sensiolabs\behat\pageobjectextension:       namespaces:         page: [testbehavior\object\page]         element: [testbehavior\object\element]  jenkins:   suites:     default:       env: integration     service:       env: integration       contexts:         - testbehavior\context\basecontext:           - false         - testbehavior\context\servicecontext:           - http://xxxxxx     command:       env: integration   extensions:     behat\minkextension:       base_url: http://xxxxx       selenium2:         wd_host: 10.52.2.84:4444/wd/hub 

locally works fine


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

c# - two queries in same method -