adding retry loop for stack_monitoring kibana_overview a11y test (#137997) (#138130)

(cherry picked from commit 3b0fc945aa)

Co-authored-by: Bhavya RM <bhavya@elastic.co>
This commit is contained in:
Kibana Machine 2022-08-04 11:58:22 -04:00 committed by GitHub
parent 8e0ce152bf
commit cae62e11b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,7 +51,9 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
it('a11y tests for Kibana Overview', async function () {
await clusterOverview.clickKibanaOverview();
expect(await kibanaOverview.isOnOverview()).to.be(true);
await a11y.testAppSnapshot();
await retry.try(async () => {
await a11y.testAppSnapshot();
});
});
it('a11y tests for Kibana Instances Page', async function () {