Skip to content

Commit

Permalink
Add clickRowToggle function to retry section
Browse files Browse the repository at this point in the history
  • Loading branch information
kertal committed May 26, 2020
1 parent 03b6c6d commit 1cfee9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/accessibility/apps/discover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 1cfee9d

Please sign in to comment.