I have a WebDriver based t21> testuite that I am trying to run with Jenkins. The project was imported and the assembly was successful.
During the test, I get the following:
Launching TestRunner Configuring TestNG with: org.apache.maven.surefire.testng.conf.TestNG652Configurator@2437 c6dc org.openqa.selenium.firefox.NotConnectedException: Cannot connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox Console Exit
It does not seem to be found in binary, but is in this path.
Failed tests: runBeforeTest (TestRunner): could not connect to the binary FirefoxBinary (/ home / user1 / Desktop / firefox / firefox-bin) on port 7055; process output: (..)
Before running, I started the X server.
Xvfb :19 -screen 0 1024x768x16 & export DISPLAY=:19 firefox &
Versions:
Ubuntu 16.04.3 Selenium 2.53.1 Firefox 55.0 Jenkins 2.60.3
source share