[Devin] Add test for DOT-TC-3684: Catalog Screen - Price Display - Verify Price Formatting#699
Open
devin-ai-integration[bot] wants to merge 1 commit intomainfrom
Open
Conversation
…ce Formatting - Add price formatting verification methods to CatalogPage.java - Add corresponding function methods to Catalog.java - Create VerifyCatalogPriceFormattingTest.java test class Test verifies: - Prices displayed with consistent formatting on catalog cards - Dollar sign present before price amount - Two decimal places displayed consistently - Price updates when UOM is changed Co-Authored-By: sandaru@cutanddry.com <sandaru@cutanddry.com>
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[Devin] Add test for DOT-TC-3684: Catalog Screen - Price Display - Verify Price Formatting
Summary
Implements automated test for DOT-TC-3684 which verifies price formatting consistency on the Catalog screen. The test validates that prices are displayed with proper formatting (dollar sign prefix, two decimal places) across catalog preview cards and the Product Detail Page (PDP).
Changes:
CatalogPage.javaCatalog.javaVerifyCatalogPriceFormattingTest.javaReview & Testing Checklist for Human
_1evg3oyappears to be a generated class name that may change. Test should be run manually to confirm locators find the correct elements.clickPDPUomDropdown,selectPDPUomOption) but not used in the test flow.Recommended test plan:
Notes
isPriceFormatValidregex may need adjustment for edge cases (prices over $999,999, etc.)Link to Devin run: https://app.devin.ai/sessions/056fca8546e9425693eaf2b640943cbb
Requested by: @sandaru-cd