[Devin] Add test for DOT-TC-3617: Verify Order Reference Column Display with ERP Order Badge#679
Open
devin-ai-integration[bot] wants to merge 2 commits intomainfrom
Conversation
…ERP Order Badge - Add locators for Order Reference column header and ERP Order badge in CustomersPage.java - Add verification methods in CustomersPage.java for Order Reference and ERP Order badge - Add wrapper methods in Customer.java function class - Create test class VerifyOrderReferenceColumnDisplayWithErpOrderBadgeTest.java Test case steps: 1. Navigate to Customer Profile Orders Tab 2. Verify Order Reference column header is displayed 3. Verify Order Reference numbers are displayed with # prefix 4. Verify ERP Order badge is displayed for ERP-synced orders 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:
|
- Changed login flow to use Login.logIntoRestaurant() then Login.navigateToDistributorPortal() - Updated distributor to Wagner Foodservice (PriceData.DISTRIBUTOR_WAGNER) - Updated customer code to 515 (existing Wagner customer with orders) Co-Authored-By: sandaru@cutanddry.com <sandaru@cutanddry.com>
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-3617: Verify Order Reference Column Display with ERP Order Badge
Summary
This PR adds automated test coverage for DOT-TC-3617, which verifies the Order Reference column display and ERP Order badge in the Customer Profile Orders Tab.
Changes include:
CustomersPage.javafor Order Reference column header, order reference numbers, and ERP Order badgeCustomersPage.javaand wrapper methods inCustomer.javaUpdates since last revision
164948356 - Cut+Dry Agent - Wagner Foodservice) as requestedLogin.logIntoRestaurant()followed byLogin.navigateToDistributorPortal()515(existing Wagner Foodservice customer)Review & Testing Checklist for Human
//span[contains(text(),'Order Reference')]and//span[contains(text(),'ERP Order')]were created based on test case description, not visual inspection. Please verify these match the actual UI elements.mvn test -Dtest=VerifyOrderReferenceColumnDisplayWithErpOrderBadgeTest -Dtest.env=uatto verify the test passes end-to-end.Notes