aem-project-archetype
aem-project-archetype copied to clipboard
CQ-4355928 ui-tests-cypress: setup proxy environment variables
Description
Enabling proxy settings for cypress UI tests.
Related Issue
CQ-4355928
Motivation and Context
Cypress UI tests should use http proxy for enabled program IDs.
How Has This Been Tested?
- Executed UI tests on proxy enabaled program.
- Checked request.log to validate if traffic goes through internal proxy.
Screenshots (if appropriate):
Types of changes
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
- [x] I have signed the Adobe Open Source CLA.
- [x] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [x] I have read the CONTRIBUTING document.
- [ ] I have added tests to cover my changes.
- [x] All new and existing tests passed.