joomla-projects / gsoc16_browser-automated-tests

Joomla GSoC16: Project VIII: Browser Automated Tests for Joomla! CMS(covering Users and Content features)
https://summerofcode.withgoogle.com/projects/#5724182314745856
GNU General Public License v2.0
9 stars 28 forks source link

[Screenshots] added Frontend and admin frontend part #119

Closed yvesh closed 7 years ago

yvesh commented 7 years ago

Basic screenshot functionality

astridx commented 7 years ago

I tested this new feature successfully.

  1. I applied the branch: git fetch upstream pull/119/head:screenshots
  2. I edited the file /tests/codeception/screenshots.suite.yml
  3. I run the command tests/codeception/vendor/bin/codecept run screenshots
  4. I found the screen shots in the folder screenshots of my Joomla! root

Also it worked in this case with the parameter

->arg('--env ' . $opts['env'])

I would change this to

->env($opts['env'])