Skip to content

Commit

Permalink
test(extension): enable test for LW-9634 (#907)
Browse files Browse the repository at this point in the history
  • Loading branch information
wklos-iohk authored Feb 22, 2024
1 parent af41488 commit 6516722
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,9 @@ class MultidelegationPageAssert {
await MultidelegationPage.tooltip.waitForDisplayed();
let expectedTooltipText;
switch (columnName) {
case 'Ticker':
expectedTooltipText = await t('browsePools.stakePoolTableBrowser.tableHeader.ticker.tooltip', 'staking');
break;
case 'Saturation':
expectedTooltipText = await t('browsePools.stakePoolTableBrowser.tableHeader.saturation.tooltip', 'staking');
break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -336,16 +336,16 @@ class MultidelegationPage {
async hoverOverColumnWithName(columnName: StakePoolListColumnType) {
switch (columnName) {
case 'Ticker':
await this.columnHeaderTicker.moveTo();
await this.columnHeaderTicker.moveTo({ xOffset: 1, yOffset: 1 });
break;
case 'Saturation':
await this.columnHeaderSaturation.moveTo();
break;
case 'ROS':
await this.columnHeaderROS.moveTo();
await this.columnHeaderROS.moveTo({ xOffset: 1, yOffset: 1 });
break;
case 'Cost':
await this.columnHeaderCost.moveTo();
await this.columnHeaderCost.moveTo({ xOffset: 1, yOffset: 1 });
break;
case 'Margin':
await this.columnHeaderMargin.moveTo({ xOffset: 1, yOffset: 1 });
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,14 @@ Feature: Staking Page - Extended View
Then tooltip for "<column_name>" column is displayed
Examples:
| column_name |
| Ticker |
| Saturation |
# TODO: Update when LW-9634 is completed
# | ROS |
# | Cost |
# | ROS | #TODO: Uncomment when LW-9827 is resolved
| Cost |
| Margin |
| Blocks |
| Pledge |
# | Live stake |
| Live stake |

@LW-8637 @Testnet @Mainnet
Scenario: Extended View - Staking password screen details
Expand Down

0 comments on commit 6516722

Please sign in to comment.