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: Refactor EditAccountNameView.js & EnableSecurityChecksView.js files to follow page object model #11983

Conversation

SamuelSalas
Copy link
Contributor

@SamuelSalas SamuelSalas commented Oct 23, 2024

Description

We are aiming to refactor the page objects in the modal folder so that they strictly follow the page object model pattern. This would aide in providing more readable and help standardize the way we create our tests. Because of the amount of files remaining, this issue will focus on working on three files to refactor, as well as their respective testIDs.

Files inside the scope for this batch:

  • EditAccountNameView.js
  • EnableSecurityChecksView.js

Related issues

Fixes:

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Regression test run: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/c4b665ed-bfea-45b9-9f91-fb2c49c9a2c9

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.

@SamuelSalas SamuelSalas added team-mobile-platform Run Smoke E2E Triggers smoke e2e on Bitrise Detox area-qa Relating to QA work (Quality Assurance) team-qa QA team labels Oct 23, 2024
@SamuelSalas SamuelSalas self-assigned this Oct 23, 2024
@SamuelSalas SamuelSalas requested a review from a team as a code owner October 23, 2024 19:07
Copy link
Contributor

github-actions bot commented Oct 23, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: 63dd9be
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/da503418-222c-439f-aa35-3e2391190668

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

Copy link

@SamuelSalas SamuelSalas added this pull request to the merge queue Oct 23, 2024
Merged via the queue into main with commit 5482dbd Oct 23, 2024
39 checks passed
@SamuelSalas SamuelSalas deleted the test/1855-refactor-editaccountnameviewjs-enablesecuritychecksviewjs-pom branch October 23, 2024 21:08
@github-actions github-actions bot locked and limited conversation to collaborators Oct 23, 2024
@metamaskbot metamaskbot added the release-7.35.0 Issue or pull request that will be included in release 7.35.0 label Oct 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-qa Relating to QA work (Quality Assurance) Detox release-7.35.0 Issue or pull request that will be included in release 7.35.0 Run Smoke E2E Triggers smoke e2e on Bitrise team-mobile-platform team-qa QA team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants