Added e2e tests for get credentials component. Since the component needs to call console and TR APIs on stage, the tests need to run within corp network. For this, we setup a self-hosted github action runner. I have updated the job to use the self-hosted runner set up by @ronit1495.
Here's the list of changes in this PR:
Added tests for api key and oauth s2s get credential component
Added new dev:https:ci script to be able to run the development server using custom certificates stored in /example/certs folder
Modified the e2e tests workflow to run inside docker, set the required env vars in /example/.env file
Modified cypress config to include test user's email and pwd
Added support functions to help with login
Added data-cy attributes for making it easy to select elements in tests
Description
Added e2e tests for get credentials component. Since the component needs to call console and TR APIs on stage, the tests need to run within corp network. For this, we setup a self-hosted github action runner. I have updated the job to use the self-hosted runner set up by @ronit1495.
Here's the list of changes in this PR:
dev:https:ci
script to be able to run the development server using custom certificates stored in /example/certs folderdata-cy
attributes for making it easy to select elements in testsRelated Issue
https://jira.corp.adobe.com/browse/IOC-7681
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: