From 1cfee9dd38ffd76c0cda586d6cece8e6f88b90ee Mon Sep 17 00:00:00 2001 From: Matthias Wilhelm Date: Tue, 26 May 2020 17:48:44 +0200 Subject: [PATCH] Add clickRowToggle function to retry section --- test/accessibility/apps/discover.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/accessibility/apps/discover.ts b/test/accessibility/apps/discover.ts index 4563ffd19dd87..7e905fbe89fbd 100644 --- a/test/accessibility/apps/discover.ts +++ b/test/accessibility/apps/discover.ts @@ -132,9 +132,9 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { // Context view test it('should open context view on a doc', async () => { - await docTable.clickRowToggle(); - // click the open action await retry.try(async () => { + await docTable.clickRowToggle(); + // click the open action const rowActions = await docTable.getRowActions(); if (!rowActions.length) { throw new Error('row actions empty, trying again');