Description
We're between a rock and a hard place on the Cloud team when it comes to finding UI help link issues:
- We now test for the validity of UI links, which is great, but ...
- We don't build prerelease docs until about a week before a release, so as to avoid preanouncing new features, which means that the UI link tests for new releases typically fail time and again because the docs aren't being built, yet.
- Because of this timing, we also tend to run out of runway before a GA to fix legitimate doc link issues that do exist.
A relatively simple solution might see us deploy the pre-release doc builds for Cloud to an internal server somewhere. The link tests could check if a link exists externally and then check the internal server as a fallback, and fail only if the target URL exists in neither location. (Alternatively, if we can prevent pre-releases from showing up in the version drop-down, that might get us closer to where we need to be.)
Nico did suggest that we move the doc link testing to the E2E tests, but I'd like to try this approach first. We have a poor track record, full of broken doc links from the UI, and if we can make sure that a link exists when a PR gets submitted, I think that helps us.
@nik9000 @bevacqua @brittenhouse @elastic/cloud-writers