Docs feedback: Accessibility testing for CI / CD instructions fail.
Page: https://docs.gitlab.com/ee/user/project/merge_requests/accessibility_testing.html#help-and-feedback
**The accessibility testing guide says to paste the following into your .yaml file. **
stages:
- accessibility
variables:
a11y_urls: "https://about.gitlab.com https://gitlab.com/users/sign_in"
include:
- template: "Verify/Accessibility.gitlab-ci.yml"
**When doing so and saving the following message occurs: **
This GitLab CI configuration is invalid: build-job job: chosen stage does not exist; available stages are .pre, accessibility, .post Learn more
**Changing - accessibility to commit:accessibility gets you further but an error seems to occur from the included file. ** This happens on hosted gitlab.com. Version 13+
My .yaml file
stages:
- accessibility
variables:
a11y_urls: "https://about.gitlab.com https://gitlab.com/users/sign_in"
include:
- template: "Verify/Accessibility.gitlab-ci.yml"
build-job:
stage: build
script:
- echo "Hello, $GITLAB_USER_LOGIN!"
test-job1:
stage: test
script:
- echo "This job tests something"
test-job2:
stage: test
script:
- echo "This job tests something, but takes more time than test-job1."
- echo "After the echo commands complete, it runs the sleep command for 20 seconds"
- echo "which simulates a test that runs 20 seconds longer than test-job1"
- sleep 20
deploy-prod:
stage: deploy
script:
- echo "This job deploys something from the $CI_COMMIT_BRANCH branch."
Edited by James Heimbuck