Skip to content

Commit bf36c40

Browse files
bslabiakljagiela
andauthored
test(extension): fix from to section selectors and invalid step (#1049)
* test(extension): fix from to section selectors and invalid step * test(extension): remove unnecessary check Signed-off-by: Lukasz Jagiela <Lukasz.Jagiela@iohk.io> --------- Signed-off-by: Lukasz Jagiela <Lukasz.Jagiela@iohk.io> Co-authored-by: Lukasz Jagiela <Lukasz.Jagiela@iohk.io>
1 parent 481c9d8 commit bf36c40

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/e2e-tests/src/assert/multidelegation/StakePoolDetailsAssert.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ class StakePoolDetailsAssert {
1414
await this.assertSeeStakePoolDetailsCommonElements();
1515

1616
expect(await StakePoolDetails.poolName.getText()).to.equal(expectedStakedPool.name);
17-
expect(await StakePoolDetails.poolTicker.getText()).to.equal(expectedStakedPool.ticker);
1817
expect(await StakePoolDetails.informationDescription.getText()).to.equal(expectedStakedPool.information);
1918

2019
if (noMetaDataPool) {

packages/e2e-tests/src/elements/dappConnector/confirmTransactionPage.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,12 @@ class ConfirmTransactionPage extends CommonDappPageElements {
111111
}
112112

113113
async getAssetsFromAddressSection() {
114-
const textArray = await getTextFromElementArray(await this.transactionToAssetsRows);
114+
const textArray = await getTextFromElementArray(await this.transactionFromAssetsRows);
115115
return textArray.map((str) => str.replace(/\n/g, ' '));
116116
}
117117

118118
async getAssetsToAddressSection() {
119-
const textArray = await getTextFromElementArray(await this.transactionFromAssetsRows);
119+
const textArray = await getTextFromElementArray(await this.transactionToAssetsRows);
120120
return textArray.map((str) => str.replace(/\n/g, ' '));
121121
}
122122

packages/e2e-tests/src/features/analytics/AnalyticsSendExtended.feature

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ Feature: Analytics - Posthog - Sending - Extended View
4242
And I open and authorize test DApp with "Only once" setting
4343
And I set send to wallet address to: "WalletAnalyticsReceiveSimpleTransactionE2E" in test DApp
4444
And I click "Send ADA" "Run" button in test DApp
45-
And I see DApp connector "Confirm transaction" page with: "-3.00" tADA - fee, "0" assets and receiving wallet "WalletAnalyticsReceiveSimpleTransactionE2E"
45+
Then I see DApp connector "Confirm transaction" page with all UI elements and with following data in "Transaction Summary" section:
46+
| -3.00 tADA - FEE |
4647
And I set up request interception for posthog analytics request(s)
4748
When I click "Confirm" button on "Confirm transaction" page
4849
Then I validate latest analytics single event "send | transaction summary | confirm | click"

0 commit comments

Comments
 (0)