Test Automation of SolutionBuilder applications: Running e2e for Hotfixes
To run e2e tests for Hotfix do the following:
- Get release branch sources from VSTS (e.g. c:\dev\9.1.0)
- Get binaries by running UpdateContinuousBuildBinaries.cmd (e.g. c:\dev\9.1.0\UpdateContinuousBuildBinaries.cmd)
- Install the application if you haven't prepared Hotfix for this release before otherwise run Deployment.SwitchEnvironment.cmd (e.g. c:\dev\9.1.0\Deployment.SwitchEnvironment.cmd)
- Compile the changed solution (if needed)
- If needed create a frontend distribution build and replace files (except config.json) under WM folder (e.g. c:\dev\9.1.0\Root\WM)
- Check out the respective release branch of the ProtractorUITest repository (e.g. release-9.1.0.0)
- Run `npm install`
- Run `collect:objects` gulp task
- Run needed e2e tests
To go back to development branch execute Deployment.SwitchEnvironment.cmd file under dev development folder