Skip to content

Commit

Permalink
Fixed Unit Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
davibroc committed Feb 3, 2025
1 parent bacc859 commit 32c791b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ exports[`StakingBalance render matches snapshot 1`] = `
"marginLeft": 20,
}
}
testID="staked-ethereum"
>
Staked Ethereum
</Text>
Expand Down Expand Up @@ -263,6 +264,7 @@ exports[`StakingBalance render matches snapshot 1`] = `
"lineHeight": 22,
}
}
testID="unstaking-banner"
>
Unstaking 0.0010 ETH in progress. Come back in a few days to claim it.
</Text>
Expand Down Expand Up @@ -404,6 +406,7 @@ exports[`StakingBalance render matches snapshot 1`] = `
"paddingHorizontal": 16,
}
}
testID="unstake-button"
>
<Text
accessibilityRole="text"
Expand Down Expand Up @@ -443,6 +446,7 @@ exports[`StakingBalance render matches snapshot 1`] = `
"paddingHorizontal": 16,
}
}
testID="stake-more-button"
>
<Text
accessibilityRole="text"
Expand Down Expand Up @@ -653,6 +657,7 @@ exports[`StakingBalance should match the snapshot when portfolio view is enabled
"marginLeft": 20,
}
}
testID="staked-ethereum"
>
Staked Ethereum
</Text>
Expand Down Expand Up @@ -728,6 +733,7 @@ exports[`StakingBalance should match the snapshot when portfolio view is enabled
"lineHeight": 22,
}
}
testID="unstaking-banner"
>
Unstaking 0.0010 ETH in progress. Come back in a few days to claim it.
</Text>
Expand Down Expand Up @@ -869,6 +875,7 @@ exports[`StakingBalance should match the snapshot when portfolio view is enabled
"paddingHorizontal": 16,
}
}
testID="unstake-button"
>
<Text
accessibilityRole="text"
Expand Down Expand Up @@ -908,6 +915,7 @@ exports[`StakingBalance should match the snapshot when portfolio view is enabled
"paddingHorizontal": 16,
}
}
testID="stake-more-button"
>
<Text
accessibilityRole="text"
Expand Down
1 change: 0 additions & 1 deletion e2e/specs/stake/stake-action-smoke.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ describe(SmokeStake('Stake from Actions'), () => {
await TransactionConfirmationView.tapConfirmButton();
await TabBarComponent.tapActivity();
await Assertions.checkIfVisible(ActivitiesView.title);
console.log(ActivitiesView.transactionStatus(FIRST_ROW));
await Assertions.checkIfElementToHaveText(ActivitiesView.transactionStatus(FIRST_ROW), ActivitiesViewSelectorsText.CONFIRM_TEXT, 120000);
// Wait fot toeast to clear
await TestHelpers.delay(8000);
Expand Down

0 comments on commit 32c791b

Please sign in to comment.