From 5596392835d1f3cb9539e5a3e5e3ed5d31b4f028 Mon Sep 17 00:00:00 2001 From: Joe Tsang <30622993+jtsang586@users.noreply.github.com> Date: Fri, 15 Sep 2023 13:04:42 +0100 Subject: [PATCH] chore(governance): fix failing staking test (#4801) --- apps/governance-e2e/src/integration/flow/staking-flow.cy.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/governance-e2e/src/integration/flow/staking-flow.cy.ts b/apps/governance-e2e/src/integration/flow/staking-flow.cy.ts index ef0160218..6a00b3d70 100644 --- a/apps/governance-e2e/src/integration/flow/staking-flow.cy.ts +++ b/apps/governance-e2e/src/integration/flow/staking-flow.cy.ts @@ -212,7 +212,7 @@ context( closeStakingDialog(); navigateTo(navigation.validators); cy.get(`[row-id="${0}"]`) - .eq(1) + .first() .within(() => { cy.getByTestId(stakeValidatorListTotalStake) .should('have.text', '3,002.00') @@ -222,7 +222,7 @@ context( .and('be.visible'); }); cy.get(`[row-id="${1}"]`) - .eq(1) + .first() .within(() => { cy.getByTestId(stakeValidatorListTotalStake) .scrollIntoView()