Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: [POM] Migrate bitcoin send e2e tests to POM #29515

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

chloeYue
Copy link
Contributor

@chloeYue chloeYue commented Jan 8, 2025

Description

  • Migrate send transaction e2e tests with bitcoin account to POM
  • Create related Bitcoin transaction page class and methods.

Open in GitHub Codespaces

Related issues

Manual testing steps

Check code readability, make sure tests pass.

Screenshots/Recordings

Before

After

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@chloeYue chloeYue added e2e-test End to end test for the MetaMask extension team-qa QA team labels Jan 8, 2025
@chloeYue chloeYue self-assigned this Jan 8, 2025
@chloeYue chloeYue requested a review from a team as a code owner January 8, 2025 16:31
Copy link
Contributor

github-actions bot commented Jan 8, 2025

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@chloeYue chloeYue marked this pull request as draft January 8, 2025 16:32
@metamaskbot
Copy link
Collaborator

Builds ready [4354a85]
Page Load Metrics (1710 ± 56 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint15582015170511354
domContentLoaded15272001167911656
load15662021171011656
domInteractive25136473015
backgroundConnect126632199
firstReactRender1695392612
getState56312136
initialActions01000
loadScripts1091142212469546
setupStore66617199
uiStartup17442340194615876

@metamaskbot
Copy link
Collaborator

Builds ready [998f740]
Page Load Metrics (1545 ± 36 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint1468176415537536
domContentLoaded1451169615246431
load1460176415457636
domInteractive236334136
backgroundConnect96923189
firstReactRender1592312412
getState45314147
initialActions01000
loadScripts1070129111365527
setupStore685162411
uiStartup162924691831214103

@chloeYue chloeYue changed the title test: migrate tests test: [POM] Create base classes and methods for bitcoin e2e tests Jan 10, 2025
@chloeYue chloeYue changed the title test: [POM] Create base classes and methods for bitcoin e2e tests test: [POM] Migrate bitcoin send e2e tests to POM Jan 10, 2025
@@ -18,12 +18,6 @@ import HeaderNavbar from '../../page-objects/pages/header-navbar';

const QUICKNODE_URL_REGEX = /^https:\/\/.*\.btc.*\.quiknode\.pro(\/|$)/u;

export enum SendFlowPlaceHolders {
Copy link
Contributor Author

@chloeYue chloeYue Jan 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Intended change, variables have been put in page class

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e2e-test End to end test for the MetaMask extension team-extension-platform team-qa QA team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants