docker-galaxy-stable icon indicating copy to clipboard operation
docker-galaxy-stable copied to clipboard

Selenium UI tests

Open bgruening opened this issue 8 years ago • 5 comments

This PR will enable Selenium UI tests for this container. Thanks to @jmchilton for this awesome feature.

For time reasons only one tour is executed and tested.

(It currently fails, but I think this is an upstream issue)

bgruening avatar Jan 07 '17 21:01 bgruening

@jmchilton any idea why I get this timeout? Would you accept a PR that overwrites one of your tests in Galaxy with a path to a different tour (environment variable)?

bgruening avatar Jan 22 '17 14:01 bgruening

That test is actually failing on Jenkins also - I think that test is broken unfortunately. https://jenkins.galaxyproject.org/view/All/job/selenium/66/testReport/selenium_tests.test_stock_tours/TestStockToursTestCase/test_core_history/

I keep trying to get these Selenium tests to consistently pass but things keep breaking. :sob: I'll let you know if I figure out what is wrong with it.

jmchilton avatar Jan 30 '17 16:01 jmchilton

Thanks John! Can we include in one of these tests a overwrite of the tour yaml file path with an environment variable? Is this to hacky? I could use this to test arbitrary tours inside a container. Or is a new script better suited?

bgruening avatar Jan 31 '17 13:01 bgruening

Or is a new script better suited?

Probably a new script - something like https://github.com/galaxyproject/galaxy/blob/dev/scripts/dump_tour.py?

jmchilton avatar Mar 27 '17 17:03 jmchilton

Oh, yes ... this looks perfect. Sorry missed this!

bgruening avatar Mar 27 '17 18:03 bgruening