Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Downloading and Extracting Firefox in Pipeline Yaml

ahlusar198 June 14, 2016

Here is the log

Build Log

I am wondering how to download and to install firefox in my environment. My end goal is to conduct regression testing with a browser. 

 

4 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Alex Soto June 14, 2016

I don't use FF myself, but to do browser testing I'd look into how to install Firefox in a headless environment

ahlusar198 June 14, 2016

Thank you for the information. Do you have an example?

0 votes
Patrick Double June 23, 2016

I built a docker image from the default image Bitbucket uses and it has Firefox, Chrome and PhantomJS installed, headless. Give it try and let me know. I'm testing with it using a Grails 2 application with Selenium tests and it's working well.

https://hub.docker.com/r/pdouble16/bitbucket-pipeline-browsers/

An example application using Pipelines is at:

https://bitbucket.org/double16/cukebooks

Please feel free to file issues on functionality or documentation at https://bitbucket.org/double16/bitbucket-pipeline-browsers

0 votes
ahlusar198 June 17, 2016

Hello Sigge Birgisson:

Thank you for the resources. I was wondering if you would be able to detail how to add multiple images (one for my application and one for the docker-chromium image, above)? The documentation seems to suggest that only one image can be used at a time. Am I correct in this assertion?

Sincerely,

Saran

0 votes
sbirgisson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 16, 2016

Hi @Saran Ahluwalia, 

First off, the build log link does not work because it is a private repository. 

With that end goal, you could try to use already created docker images like this one that uses Chromium, https://hub.docker.com/r/markadams/chromium-xvfb/ . There are some options there for you depending on if you want JS or Selenium tests. 

Its Dockerfile describes how its installed: https://github.com/mark-adams/docker-chromium-xvfb/blob/master/images/base/Dockerfile

Documentation how to use these is here:

https://confluence.atlassian.com/display/BITBUCKET/Use+Docker+images+as+build+environments+in+Bitbucket+Pipelines

Hope this helps you!

Regards, Sigge, QA Bitbucket Pipelines

 

ahlusar198 June 17, 2016

Hello @Sigge Birgisson:

Thank you for the resources. I was wondering if you would be able to detail how to add multiple images (one for my application and one for the docker-chromium image, above)? The documentation seems to suggest that only one image can be used at a time. Am I correct in this assertion?

Sincerely,

Saran

Deleted user July 5, 2017

Hi @Sigge Birgisson,

Is there any documentation on how to use the docker image provided at the link and on how to connect it to selenium?

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events