Success

User tests: Successful: Unsuccessful:

avatar javigomez
javigomez
18 May 2015

This pull adds the base for testing Weblinks component with an Firefox automated browser via Selenium and Codeception Framework.

See it in action in the following video: https://www.youtube.com/watch?v=gpsZVZCsawg

This pull will launch the tests in Travis, however if you want to run the tests in your local machine follow this instructions:

rename the file tests/acceptance.suite.dist.yml to tests/acceptance.suite.yml. Afterwards, please edit the file according to your system needs.

To run the tests execute the following commands (for the moment only working in Linux and MacOS, for more information see: https://docs.joomla.org/Testing_Joomla_Extensions_with_Codeception):

$ composer update
$ vendor/bin/robo
$ vendor/bin/robo test:prepare-acceptance
$ vendor/bin/robo test:acceptance

If you have a Windows machine you can check the RoboFile.php file and adapt the commands to your Operating System.

The results of the test should be available once Travis-ci run them at:
https://travis-ci.org/joomla-extensions/weblinks/builds/63059014

avatar javigomez javigomez - open - 18 May 2015
avatar javigomez
javigomez - comment - 18 May 2015
avatar javigomez
javigomez - comment - 21 May 2015

I'll update this code in a new pull. Closing,

avatar javigomez javigomez - close - 21 May 2015
avatar zero-24
zero-24 - comment - 21 May 2015

@javigomez can we remove the systemtests branch or do you need it?

avatar javigomez javigomez - head_ref_deleted - 22 May 2015
avatar javigomez
javigomez - comment - 22 May 2015

@zero-24 removed

Add a Comment

Login with GitHub to post a comment