Can't get my protractor running on remote server on headless mode. I'll be glad if anyone could help
- This is my qa server setting:
Under /etc/init.d/xvfb
script to stat Xvfb :99
export DISPLAY=:99
set in bash_profile ( echo $DISPLAY
returns :99
)
firefox and protractor installed.
- My project
pom.xml
:
I'm using maven-wagon-plugin to execute
- The script starting xvfb on display:99 on my qa server
- Run protractor
protractorTest/conf.js
on my qa server
When running the job from jenkins
=> I'm getting error E/launcher - Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms.
Firefox console output: Error: no display specified
Checked if the xvfb
is running:
ps -ef | grep Xvfb
on QA server shows the Xvfb process running, but
Please let me know if something is wrong or missing?