Rewrite snippet tests verification flow
What does this MR do and why?
Describe in detail what your merge request does and why.
Attempts to fix a flaky failure that was blocking deployments on Staging-Canary where a snippet would take a bit longer to render. Currently, in our snippet tests we wait for the page to load rather than for the snippet element to appear (which can happen a few moments later). With this change we allow up to 10 seconds wait for the snippet title to appear, any longer I would be inclined to consider a performance issue.
QA failure issue - #326624 (closed)
NB the test will remain in quarantine for further monitoring till we are convinced the issue is resolved.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.