Skip to content

Commit

Permalink
test(extension): maintenance 19 Dec 2024 (#1610)
Browse files Browse the repository at this point in the history
* test(extension): disable test due to bug

* test(extension): adjust stake pool name

* test(extension): adjust assertion timeout

* test(extension): comment out broken tests
  • Loading branch information
wklos-iohk authored Dec 19, 2024
1 parent 2c02ae0 commit bf4ba48
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
3 changes: 2 additions & 1 deletion packages/e2e-tests/src/features/DAppConnector.feature
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ Feature: DAppConnector - Common
Then I see Lace wallet info in DApp when connected
And I don't see DApp window

@LW-3807 @Mainnet
@LW-3807 @Mainnet @Pending
@issue=LW-11988
Scenario: "No wallet" modal displayed after trying to connect Dapp when there is no wallet
Given I remove wallet
And I accept analytics banner on "Get started" page
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Feature: Staking Page - Delegated funds - Single pool - Extended View
And I see "Add stake pool" button is enabled
When I click "Add stake pool" button
And I switch to list view on "Browse pools" tab
And I pick "10" pools for delegation from browse pools view: "8BETA, SMAUG, WOOF, TEKO, ADV, MOC2, SQRL, SEA, ALFA"
And I pick "10" pools for delegation from browse pools view: "8BETA, ACL, WOOF, TEKO, ADV, MOC2, MKM, SEA, ALFA"
And I click "Next" button on staking portfolio bar
And I click "Fine by me" button on "Changing staking preferences?" modal
Then I see Manage delegation drawer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Feature: Analytics - Posthog - Onboarding - Extended View
And I click "Enter wallet" button
Then I validate latest analytics multiple events:
| onboarding \| restore wallet revamp \| let's set up your new wallet \| enter wallet \| click |
| $create_alias |
# | $create_alias | TODO: uncomment when LW-12025 is fixed
And I validate that alias event has assigned same user id "5b3ca1f1f7a14aad1e79f46213e2777d" in posthog

@LW-7365
Expand All @@ -56,7 +56,7 @@ Feature: Analytics - Posthog - Onboarding - Extended View
And I click "Enter wallet" button
Then I validate latest analytics multiple events:
| onboarding \| new wallet revamp \| let's set up your new wallet \| enter wallet \| click |
| $create_alias |
# | $create_alias | TODO: uncomment when LW-12025 is fixed
And I validate that 10 analytics event(s) have been sent

@LW-7364 @Pending
Expand Down
11 changes: 7 additions & 4 deletions packages/e2e-tests/src/page/page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ export interface Page {

export abstract class LaceView {
async waitForPreloaderToDisappear(): Promise<void> {
await browser.waitUntil(async () => {
const preloaderExists = await $('#preloader').isExisting();
return !preloaderExists;
});
await browser.waitUntil(
async () => {
const preloaderExists = await $('#preloader').isExisting();
return !preloaderExists;
},
{ timeout: 5 * 60 * 1000, interval: 1000 }
);
}
}

0 comments on commit bf4ba48

Please sign in to comment.