Skip to content

test: 1452 refactor modal pages batch 2#8257

Merged
SamuelSalas merged 29 commits into
mainfrom
test/1452-refactor-modal-pages-batch-2
Feb 15, 2024
Merged

test: 1452 refactor modal pages batch 2#8257
SamuelSalas merged 29 commits into
mainfrom
test/1452-refactor-modal-pages-batch-2

Conversation

@SamuelSalas

Copy link
Copy Markdown
Contributor

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 inside of the modal folder, the scope was divided into a batch of 4.

Related issues

Fixes:

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

After

Pre-merge author checklist

  • I’ve followed MetaMask Coding Standards.
  • I've clearly explained what problem this PR is solving and how it is solved.
  • I've linked related issues
  • I've included manual testing steps
  • I've included screenshots/recordings if applicable
  • I’ve included tests if applicable
  • I’ve documented my code using JSDoc format if applicable
  • I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.
  • I’ve properly set the pull request status:
    • In case it's not yet "ready for review", I've set it to "draft".
    • In case it's "ready for review", I've changed it from "draft" to "non-draft".

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 self-assigned this Jan 11, 2024
@SamuelSalas SamuelSalas requested a review from a team as a code owner January 11, 2024 22:24
@codecov-commenter

codecov-commenter commented Jan 11, 2024

Copy link
Copy Markdown

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (5480fcc) 40.90% compared to head (9b8e0ab) 40.90%.

Files Patch % Lines
app/components/Base/DetailsModal.js 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8257   +/-   ##
=======================================
  Coverage   40.90%   40.90%           
=======================================
  Files        1245     1245           
  Lines       30150    30150           
  Branches     2895     2895           
=======================================
  Hits        12333    12333           
  Misses      17114    17114           
  Partials      703      703           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@SamuelSalas SamuelSalas changed the title Test/1452 refactor modal pages batch 2 test: 1452 refactor modal pages batch 2 Jan 11, 2024

@cortisiko cortisiko left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

left some comments

Comment thread e2e/specs/quarantine/deeplinks.failing.js
Comment thread e2e/specs/quarantine/deeplinks.failing.js Outdated
Comment thread e2e/specs/quarantine/deeplinks.failing.js Outdated
Comment thread e2e/pages/modals/NetworkApprovalModal.js Outdated
@gauthierpetetin gauthierpetetin added team-mobile-platform Mobile Platform team and removed team-mobile-client labels Feb 1, 2024
@SamuelSalas

Copy link
Copy Markdown
Contributor Author

@metamaskbot metamaskbot added the needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) label Feb 14, 2024
@sonarqubecloud

Copy link
Copy Markdown

@cortisiko cortisiko left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

✅ ✅ ✅ ✅

@chrisleewilcox

Copy link
Copy Markdown
Contributor

@Andepande Andepande left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@SamuelSalas SamuelSalas merged commit 1bec601 into main Feb 15, 2024
@SamuelSalas SamuelSalas deleted the test/1452-refactor-modal-pages-batch-2 branch February 15, 2024 16:49
@github-actions github-actions Bot removed the needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) label Feb 15, 2024
@github-actions github-actions Bot locked and limited conversation to collaborators Feb 15, 2024
@metamaskbot metamaskbot added the release-7.17.0 Issue or pull request that will be included in release 7.17.0 label Feb 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-7.17.0 Issue or pull request that will be included in release 7.17.0 team-mobile-platform Mobile Platform team

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

7 participants