This tool for generating data for tracker module in elasticsuite https://github.com/Smile-SA/elasticsuite
Based on Behat and Selenium. For more information read http://mink.behat.org/en/latest/
Installation:
- composer install
- Paste you site url in file behat.yml
- Download chromedriver for you Google Chrome http://chromedriver.chromium.org/downloads and put it at the root of the tool. You can run it with command 'sudo ./chromedriver --port=9516'
- java -jar selenium-server-standalone-3.0.1.jar -port 4444
Run:
- For run all scenario: vendor/bin/behat.
- For run separate scenario: vendor/bin/behat "path to scenario".
- For restart session and clear cookies, you can add "And I reset session" in the scenario.
- For add delay between the steps, you can add "And wait n seconds" in the scenario.