File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ class TransactionsDetailsAssert {
102
102
const actualIds : string [ ] = await TransactionDetailsPage . getTransactionDetailsStakepoolIds ( ) ;
103
103
const actualNames : string [ ] = await TransactionDetailsPage . getTransactionDetailsStakepoolNames ( ) ;
104
104
const actualTickers : string [ ] = await TransactionDetailsPage . getTransactionDetailsStakepoolTickers ( ) ;
105
+ if ( actualIds [ 0 ] . endsWith ( expectedTickers [ 0 ] . split ( '...' ) [ 1 ] ) ) expectedTickers [ 0 ] = '-' ;
105
106
106
107
expect ( actualIds ) . to . have . all . members ( expectedIds ) ;
107
108
expect ( actualNames ) . to . have . all . members ( expectedNames ) ;
Original file line number Diff line number Diff line change @@ -73,8 +73,8 @@ class MultidelegationPage {
73
73
private STAKE_POOLS_LIST_CONTAINER = '[data-testid="stake-pools-list-container"]' ;
74
74
private STAKE_POOL_LIST_ROW_SKELETON = '[data-testid="stake-pool-list-row-skeleton"]' ;
75
75
private STAKE_POOL_CARD_SKELETON = '[data-testid="stake-pool-card-skeleton"]' ;
76
- private SELCECTED_STAKE_POOLS_IN_GRID_VIEW = '[data-testid="selected-pools-list"] [data-testid="stake-pool-card"]' ;
77
- private SELCECTED_STAKE_POOLS_IN_LIST_VIEW = '[data-testid="selected-pools-list"] [data-testid="stake-pool-item"]' ;
76
+ private SELECTED_STAKE_POOLS_IN_GRID_VIEW = '[data-testid="selected-pools-list"] [data-testid="stake-pool-card"]' ;
77
+ private SELECTED_STAKE_POOLS_IN_LIST_VIEW = '[data-testid="selected-pools-list"] [data-testid="stake-pool-item"]' ;
78
78
private POOLS_COUNTER = '[data-testid="pools-counter"]' ;
79
79
80
80
get title ( ) {
@@ -294,11 +294,11 @@ class MultidelegationPage {
294
294
}
295
295
296
296
get selectedPoolsInGridView ( ) {
297
- return $$ ( this . SELCECTED_STAKE_POOLS_IN_GRID_VIEW ) ;
297
+ return $$ ( this . SELECTED_STAKE_POOLS_IN_GRID_VIEW ) ;
298
298
}
299
299
300
300
get selectedPoolsInListView ( ) {
301
- return $$ ( this . SELCECTED_STAKE_POOLS_IN_LIST_VIEW ) ;
301
+ return $$ ( this . SELECTED_STAKE_POOLS_IN_LIST_VIEW ) ;
302
302
}
303
303
304
304
get moreOptionsComponent ( ) : typeof MoreOptionsComponent {
Original file line number Diff line number Diff line change @@ -71,11 +71,13 @@ Feature: Staking Page - Switching pools - Extended Browser View - E2E
71
71
And I enter correct wallet password and confirm staking
72
72
Then Switching staking success drawer is displayed
73
73
When I click "Close" button on staking success drawer
74
+ And I navigate to Transactions extended page
75
+ Then I can see transaction 1 with type "Delegation"
76
+ And I navigate to Staking extended page
74
77
And I open Overview tab
75
78
And I wait until "-" pool is on "Your pools" list
76
79
And I save identifiers of stake pools currently in use
77
80
And I navigate to Transactions extended page
78
- Then I can see transaction 1 with type "Delegation"
79
81
When I click on a transaction: 1
80
82
Then The Tx details are displayed for Staking without metadata
81
83
You can’t perform that action at this time.
0 commit comments