qentinelqi / qweb

Keyword driven automation for the web
https://github.com/qentinelqi/qweb
Apache License 2.0
39 stars 17 forks source link

Unable to configure Jenkins pipeline for Robot Framework- Qweb Framework #131

Closed prakaam closed 9 months ago

prakaam commented 11 months ago

Describe the bug The QWeb Framework that is developed using robot framework is triggering the error #Importing library 'QWeb' failed: DisplayConnectionError: Can't connect to display ":0": [Errno 111] Connection refused#

To Reproduce The Jenkins file is attached. JenkinsFile.txt

tkoukkari commented 11 months ago

You probably need to install xvfb and start it, Probably good idea to install matchbox or some other window manager too.

apt-get -y install xvfb matchbox
sh 'Xvfb $DISPLAY -screen 0 1920x1080x24 & sleep 1'
sh 'matchbox-window-manager -use_titlebar no &'