Warning
For easier workflow and co-location of similar tests, this repo was archived and it functionality was migrated to our frontend repo.
Integration tests along with the helpers and nightly GHA workflow can be found there and will be developed there going forward.
yarn install
yarn playwright install --with-deps
This stores your local credentials
yarn get-tests
As your user, run podman to serve the api:
podman system service -t 0 unix:///tmp/podman.sock
Uncomment the DOCKER_SOCKET option in the .env file:
DOCKER_SOCKET="/tmp/podman.sock"
- ensure the docker service is running
- ensure your user is part of the 'docker' user group
For local testing, make sure your front-end/backend servers are running and accessible, then:
- Ensure you do NOT specify a proxy in your .env file (put an empty value: "")
- Make sure your .env's BASE_URL is pointed to the local front-end server "https://stage.foo.redhat.com:1337"
- USER1USERNAME="<YOUR_STAGE_QE_USER>"
- USER1PASSWORD="<YOUR_STAGE_QE_USER_PASSWORD>"
Note: For Ethel, your user will require the following skus: MCT4022,MCT3718,MCT3695,ES0113909
For local stage testing, make sure the following:
- PROXY must be set correctly in your .env file.
- Make sure your .env's BASE_URL is pointed to the targeted env, if targeting PROD, the proxy is not needed.
- USER1USERNAME="<YOUR_STAGE_QE_USER>"
- USER1PASSWORD="<YOUR_STAGE_QE_USER_PASSWORD>"
Note: For Ethel, your user will require the following skus: MCT4022,MCT3718,MCT3695,ES0113909
yarn playwright test
yarn playwright test UI/CreateCustomRepo.spec.ts