Skip to content

Commit

Permalink
test: e2e - minor test fixes (#1625)
Browse files Browse the repository at this point in the history
  • Loading branch information
ljagiela authored Jan 2, 2025
1 parent 931319b commit d10316d
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/e2e-tests/src/elements/modal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class Modal {
async waitUntilModalDisappears() {
await browser.pause(500);
await browser.waitUntil(async () => !(await this.container.isDisplayed()), {
timeout: 10_000,
timeout: 15_000,
interval: 500,
timeoutMsg: 'failed while waiting for the modal to disappear'
});
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-tests/src/features/AdaHandleExtended.feature
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Feature: ADA handle - extended view
And I see handles listed on the "Receive" screen
And I close the drawer by clicking close button
And I navigate to NFTs extended page
When I create folder with name: "Ada Handle folder" that contains 4 NFTs
When I create folder with name: "Ada Handle folder" that contains 5 NFTs
Then I see a thumbnail of ADA handle with custom image on the NFT folder with name: "Ada Handle folder"
When I left click on the NFT folder with name "Ada Handle folder"
And I see "Ada Handle folder" NFT folder page in extended mode
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-tests/src/features/AdaHandlePopup.feature
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Feature: ADA handle - popup view
And I see handles listed on the "Receive" screen
And I close the drawer by clicking close button
And I navigate to NFTs popup page
When I create folder with name: "Ada Handle folder" that contains 4 NFTs
When I create folder with name: "Ada Handle folder" that contains 5 NFTs
Then I see a thumbnail of ADA handle with custom image on the NFT folder with name: "Ada Handle folder"
When I left click on the NFT folder with name "Ada Handle folder"
And I see "Ada Handle folder" NFT folder page in popup mode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ Feature: Transactions - Extended view
| Sent | default - negative |
| Received | green - positive |
| Self Transaction | default - negative |
| Rewards | green - positive |
# enable rewards type of transaction when it's available
# | Rewards | green - positive |
| Delegation | default - negative |
| Stake Key De-Registration | green - positive |
| Stake Key Registration | default - negative |
Expand All @@ -64,7 +65,8 @@ Feature: Transactions - Extended view
| Sent |
| Received |
| Self Transaction |
| Rewards |
# enable rewards type of transaction when it's available
# | Rewards |
| Delegation |
| Stake Key De-Registration |
| Stake Key Registration |
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ Feature: Transactions - Popup view
| Sent | default - negative |
| Received | green - positive |
| Self Transaction | default - negative |
| Rewards | green - positive |
# enable rewards type of transaction when it's available
# | Rewards | green - positive |
| Delegation | default - negative |
| Stake Key De-Registration | green - positive |
| Stake Key Registration | default - negative |
Expand All @@ -30,7 +31,8 @@ Feature: Transactions - Popup view
| Sent |
| Received |
| Self Transaction |
| Rewards |
# enable rewards type of transaction when it's available
# | Rewards |
| Delegation |
| Stake Key De-Registration |
| Stake Key Registration |
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ Feature: CIP-95 Static methods
And I click "Only once" button in DApp authorization window
And I switch to window with CIP-95 test DApp
And I wait for CIP-95 test DApp to be populated with data
Then .getPubDRepKey() returned "0260bdbdb0bf572c524672709849c6fe6a778b73bc2a65776e6a9a850dd690e9"
Then .getPubDRepKey() returned "912f7179f6c7d41e62168f15c947879b3ee89aa94f69bd60c93d756385062afd"
And .getRegisteredPubStakeKeys() returned:
| index | key |
| 0 | 9832a01bc835d16e380db33476d5cf10bd777b7aa4eb8aec017fdb7bbbfceb28 |
| 0 | cbcb3e0af7a089a8e94da7382b2b02eee6aad4a501cf4d0e01eda44a2a71ca85 |

@LW-10613
Scenario: CIP-95 - Static methods - user has staked funds on multiple stake pools
Expand Down
Binary file modified packages/e2e-tests/src/support/walletConfiguration.ts.gpg
Binary file not shown.

0 comments on commit d10316d

Please sign in to comment.