-
Notifications
You must be signed in to change notification settings - Fork 5k
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] improve homepage class implementation #28797
Conversation
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. |
Builds ready [5195efb]
Page Load Metrics (1897 ± 143 ms)
Bundle size diffs
|
Builds ready [2cffd27]
Page Load Metrics (1841 ± 112 ms)
Bundle size diffs
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really like this refactor! thanks @chloeYue 🙌 Skipping the quality gate also makes sense to me
Co-authored-by: Harika <[email protected]>
Co-authored-by: Harika <[email protected]>
Co-authored-by: Harika <[email protected]>
Builds ready [2f63212]
Page Load Metrics (1985 ± 155 ms)
Bundle size diffs
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @chloeYue for breaking down the pages to make them modular, clear and maintainable. I noted some observations in the other files, which will be addressed later as mentioned by you.
Description
The current homepage class contains methods for asset, NFT, and activity lists, resulting in a long file that can make it challenging to locate specific methods. To improve organization and maintainability, I have refactored the homepage into four separate class files:
Changes:
Refactoring: Split the methods into respective class files to streamline the structure and make the codebase more modular.
Method update: Removed the
waitUntilAssetListHasItems
method, as it duplicates the functionality of the existingcheck_tokenListItem
method.I added the
skip-e2e-quality-gate
label, as this PR involves many import line changes in test specs. However, there are no functional changes for tests and methods in this PR, i have only splitted original functions in different files.Related issues
Fixes:
Manual testing steps
Check code readability, make sure tests pass.
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist