Skip to content

Commit eb5b282

Browse files
xbeghersComp0te
andauthored
Fix for WALLET-460 (#1111)
Co-authored-by: Vynnyk Dmytro <[email protected]>
1 parent 676dd98 commit eb5b282

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

e2e-tests/constants.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ export const NEW_VALIDATOR_FOR_SIGNATURE_REQUEST = {
9696

9797
export const VALIDATOR_FOR_STAKE = {
9898
publicKey:
99-
'010e5669b070545e2b32bc66363b9d3d4390fca56bf52a05f1411b7fa18ca311c7',
100-
truncatedPublicKey: '010e...11c7'
99+
'01f340df2c32f25391e8f7924a99e93cab3a6f230ff7af1cacbfc070772cbebd94',
100+
truncatedPublicKey: '01f3...bd94'
101101
};
102102

103103
export const NEW_VALIDATOR_FOR_STAKE = {

e2e-tests/popup/stakes/delegate.spec.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ popup.describe('Popup UI: Delegation', () => {
5959
name: 'You’ve submitted a delegation'
6060
})
6161
).toBeVisible();
62+
63+
await popupPage.waitForTimeout(1000);
64+
await popupPage.getByRole('button', { name: 'Done' }).click();
65+
66+
await popupPage.getByText('Close').click();
6267
}
6368
);
6469
});

e2e-tests/popup/stakes/redelagation.spec.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ popup.describe('Popup UI: Redelegation', () => {
2626

2727
await new Promise(r => setTimeout(r, 2000));
2828

29+
await popupPage
30+
.getByPlaceholder('Validator public address', { exact: true })
31+
.fill(VALIDATOR_FOR_STAKE.publicKey);
32+
33+
await new Promise(r => setTimeout(r, 2000));
2934
await popupPage
3035
.getByText(VALIDATOR_FOR_STAKE.truncatedPublicKey, { exact: true })
3136
.click();

0 commit comments

Comments
 (0)