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 SendLinkView.js & TokenOverview.js files to follow page object model #11986

Merged

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:

  • SendLinkView.js
  • TokenOverview.js

Related issues

Fixes:

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Regression Test run: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/73c51633-f930-4f5f-874e-1d7338f508ee

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 review from a team as code owners October 23, 2024 21:14
Copy link
Contributor

https://bitrise.io/ Bitrise

🔄🔄🔄 pr_smoke_e2e_pipeline started on Bitrise...🔄🔄🔄

Commit hash: e660c12
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/ccd6c7fc-c6ab-49a8-bd12-e816440c8d93

Note

  • This comment will auto-update when build completes
  • 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

@SamuelSalas SamuelSalas added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Oct 23, 2024
Copy link
Contributor

https://bitrise.io/ Bitrise

🔄🔄🔄 pr_smoke_e2e_pipeline started on Bitrise...🔄🔄🔄

Commit hash: 3ea8c49
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/d74aeb8e-0b29-4883-a8c0-98592cbef15c

Note

  • This comment will auto-update when build completes
  • 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

@SamuelSalas SamuelSalas added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Oct 23, 2024
Copy link
Contributor

github-actions bot commented Oct 23, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: b2dee48
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/5e805831-35ef-4dfd-a20f-9e2ba8a96d4b

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
Member

@cortisiko cortisiko left a comment

Choose a reason for hiding this comment

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

small feedback

e2e/pages/SendLinkView.js Outdated Show resolved Hide resolved
@SamuelSalas SamuelSalas added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Oct 24, 2024
Copy link
Contributor

github-actions bot commented Oct 24, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: f740978
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/6ab6674e-c299-42e5-977f-110e6a7cbf99

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 25, 2024
Merged via the queue into main with commit 430d0b3 Oct 25, 2024
37 checks passed
@SamuelSalas SamuelSalas deleted the test/1856-refactor-sendlinkviewjs-tokenoverviewjs-pom branch October 25, 2024 16:15
@github-actions github-actions bot locked and limited conversation to collaborators Oct 25, 2024
@metamaskbot metamaskbot added the release-7.35.0 Issue or pull request that will be included in release 7.35.0 label Oct 25, 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
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants