Enonic XP UI Testing
#Local mode:
- Start the XP-server on your machine
- Run the task: 'xp-ui-testing>gradlew deploy' ( all required applications will be put into the 'XP_HOME/deploy' folder
- Check your local version of chrome browser and download the required chromedriver from https://chromedriver.chromium.org/downloads
- Open the "xp-ui-testing/selenium-tests/tests.properties" and specify a path to the your local "chromedriver"
- Run a task with tests: 'xp-ui-testing>gradlew testInputTypesLocal' It also possible to run a task with tests from an Idea. Just need to open Gradle window in Idea and do double click on a task whit tests, testInputTypesLocal for example
#Mode, when XP distro will be Downloaded from the repo and server starts after it
- Run the task: 'xp-ui-testing>gradlew deploy'
- Clear the repo and work directories in XP_HOME
- Run the task: 'xp-ui-testing>gradlew testInputTypes' (distro will be downloaded from enonic repo )