E2E test for browsing locked + expired artifacts
Steps
- Log into GitLab
- Fabricate a new project
- Push a new
gitlab-ci.yml
file which has at least 1 job with an artifact that will expire immediately for testing purposes (I'm assuming this is legal? - making the artifact expires after 5 seconds, can it be faster? like 1 second?)
job:
artifacts:
expire_in: 5
- Wait for pipeline to complete + the specified time for artifact to expire.
- View pipeline
- Verify
Browse
button is visible
- Click
Browse
button
- Verify the correct artifact is available (a text file would be sufficient)