Skip to content

Commit

Permalink
test: e2e - fix/tag failing tests (maintenance) (#1587)
Browse files Browse the repository at this point in the history
  • Loading branch information
ljagiela authored Dec 11, 2024
1 parent 6806594 commit 379e9f1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ class MessageSigningAllDoneDrawerAssert {
await MessageSigningAllDoneDrawer.image.waitForDisplayed();
await MessageSigningAllDoneDrawer.title.waitForDisplayed();
expect(await MessageSigningAllDoneDrawer.title.getText()).to.equal(await t('core.signMessage.successTitle'));
await MessageSigningAllDoneDrawer.description.waitForDisplayed();
expect(await MessageSigningAllDoneDrawer.description.getText()).to.equal(
await t('core.signMessage.successDescription')
);

await MessageSigningAllDoneDrawer.signature.waitForDisplayed();
expect(await MessageSigningAllDoneDrawer.signature.getText()).to.not.be.empty;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import type { ChainablePromiseElement } from 'webdriverio';
class MessageSigningAllDoneDrawer extends CommonDrawerElements {
private IMAGE = '[data-testid="result-message-img"]';
private TITLE = '[data-testid="result-message-title"]';
private DESCRIPTION = '[data-testid="result-message-description"]';
private SIGNATURE = '[data-testid="sign-message-signature"]';
private SIGNATURE_LABEL = '[data-testid="result-message-signature-label"]';
private KEY = '[data-testid="sign-message-key"]';
Expand All @@ -21,10 +20,6 @@ class MessageSigningAllDoneDrawer extends CommonDrawerElements {
return $(this.TITLE);
}

get description(): ChainablePromiseElement<WebdriverIO.Element> {
return $(this.DESCRIPTION);
}

get signature(): ChainablePromiseElement<WebdriverIO.Element> {
return $(this.SIGNATURE);
}
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-tests/src/features/SignMessage.feature
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Feature: Sign message
# For 3rd account from TestAutomationWallet
| addr_test1qpvl49m3p8z8cmlqrmm...mhy2p8sqj0rsdf |

@LW-11539
@LW-11539 @Smoke
Scenario: Extended view - Sign message - happy path
When I click the menu button
And I click on the "Sign message" option
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ Feature: Analytics - Posthog - Onboarding - Extended View
| $create_alias |
And I validate that alias event has assigned same user id "5b3ca1f1f7a14aad1e79f46213e2777d" in posthog

@LW-7365
@LW-7365 @Pending
@issue=LW-11971
Scenario: Analytics - Onboarding new wallet events
Given "Get started" page is displayed
When I enable showing Analytics consent banner
Expand Down

0 comments on commit 379e9f1

Please sign in to comment.