[Devin] Automate DOT-TC-3676: Catalog Screen - List/Grid View Toggle - Switch to List View#684
Open
devin-ai-integration[bot] wants to merge 1 commit intomainfrom
Open
Conversation
…- Switch to List View - Retrieved test case details from AIO TCMS API (MANDATORY step) - Performed manual UI verification to identify correct XPaths - Added locators for List/Grid view toggle functionality in CatalogPage.java - Added wrapper methods in Catalog.java function class - Created test class following exact flow from API and manual verification - Test verifies: Grid view display, List view toggle, column visibility (Item Code, Item Name, Category, Unit, Price, Status) Co-Authored-By: viranga@cutanddry.com <viranga@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] Automate DOT-TC-3676: Catalog Screen - List/Grid View Toggle - Switch to List View
Summary
Automates test case DOT-TC-3676 which verifies the List/Grid view toggle functionality in the Catalog Preview screen. The test logs in as a distributor, navigates to Catalog, opens Catalog Preview (which displays in Grid view), clicks "Switch to List View", and verifies that the List view displays correctly with all expected columns (Item Code, Item Name, Category, Unit, Price, Status).
Changes follow the 3-tier POM architecture:
Review & Testing Checklist for Human
mvn test -Dtest=VerifyCatalogListGridViewToggleSwitchToListViewTest -Drun.headless=true -Dtest.env=uat//a[contains(text(),'Edit Item')]for Grid view detection (this is an indirect check)Recommended test plan: Run the test in non-headless mode (
-Drun.headless=false) to visually observe the flow and confirm each step executes correctly.Notes
Link to Devin run: https://app.devin.ai/sessions/b2fb830667ae4ee686e909cd20c3224a
Requested by: viranga@cutanddry.com