Skip to content

master update post 2025.2 official release#4219

Merged
Maheshkale447 merged 61 commits into
masterfrom
Releases/Official-Release
May 17, 2025
Merged

master update post 2025.2 official release#4219
Maheshkale447 merged 61 commits into
masterfrom
Releases/Official-Release

Conversation

@Maheshkale447

@Maheshkale447 Maheshkale447 commented May 17, 2025

Copy link
Copy Markdown
Contributor

Thank you for your contribution.
Before submitting this PR, please make sure:

  • PR description and commit message should describe the changes done in this PR
  • Verify the PR is pointing to correct branch i.e. Release or Beta branch if the code fix is for specific release , else point it to master
  • Latest Code from master or specific release branch is merged to your branch
  • No unwanted\commented\junk code is included
  • No new warning upon build solution
  • Code Summary\Comments are added to my code which explains what my code is doing
  • Existing unit test cases are passed
  • New Unit tests are added for your development
  • Sanity Tests are successfully executed for New and Existing Functionality
  • Verify that changes are compatible with all relevant browsers and platforms.
  • After creating pull request there should not be any conflicts
  • Resolve all Codacy comments
  • Builds and checks are passed before PR is sent for review
  • Resolve code review comments
  • Update the Help Library document to match any feature changes

Summary by CodeRabbit

  • New Features

    • Added support for AI-generated POM creation from screenshots, including documentation and improved workflow for uploading, previewing, and learning elements from screenshots.
    • Introduced the ability to update multiple Page Object Models (POMs) simultaneously, with new documentation and wizard enhancements.
    • Enhanced artifact publishing with improved validation and error reporting for centralized HTML report uploads.
    • Improved Selenium driver with explicit DevTools protocol versioning and more reliable frame switching.
  • Improvements

    • Enhanced handling of UI element filters and POM settings for more accurate element selection.
    • Improved source control integration with better branch detection, error handling, and password management.
    • Updated image upload limits to 5MB and improved related user messages.
    • More robust handling of shared repository items and solution-relative file paths.
    • Conditional display of enterprise-only menu items based on user profile settings.
    • Improved agent management when adding shared repository activities during execution.
    • Enhanced WebView2 initialization for AI-generated HTML previews.
  • Bug Fixes

    • Prevented null reference errors in repository and variable handling.
    • Fixed XPath splitting logic in Selenium driver for accurate frame navigation.
  • Documentation

    • Added and updated markdown files for new and existing wizards to guide users on POM creation and updates.
    • Updated license headers across multiple files for compliance.
  • Chores

    • Updated versioning metadata in project files.
    • Adjusted Dockerfile to specify browser versions for Firefox and Edge in selenium-manager commands.

prashelke and others added 30 commits May 5, 2025 08:24
Official Release update before Ginger 2025.2 Official Release
…ockUp

Added Learn POM From Mockup's menu to Enterprise Feature
…tifactsAction

BugFix-Enhancement publish artifacts action
…tifactsAction

Added validation for Centralized Logger Configurations.
…osingPOMEditWindow

Live Spy Close on closing the pom edit window
Maheshkale447 and others added 28 commits May 13, 2025 11:24
Bug fix Agent Mapping, create Branch,
Edge Browser support version 127 only for dev tool fix
…redentialCheckfix

Bug fix/48371_linux os credential check fix
…shOnClose

Edit POM Page Closing Issue fixed
Added Webview2 to Temp Location and Playwright Custom Relative path i…
…trodution

Configuration serialized issue Fixed
@coderabbitai

coderabbitai Bot commented May 17, 2025

Copy link
Copy Markdown
Contributor

Caution

Review failed

The pull request is closed.

Walkthrough

This update introduces new documentation files, license headers, UI and logic enhancements for POM wizards, and refines artifact publishing and source control handling. It adds OS validation for credential management, improves Selenium driver configuration, and updates configuration file registration patterns. Several internal methods and properties are added or adjusted for robustness and maintainability.

Changes

File(s) Change Summary
.../ActionEditPage.xaml.cs, .../ActPublishArtifacts.cs Enhanced unique parameter name generation for ActPublishArtifacts and improved artifact upload validation and error reporting.
.../POMEditPage.xaml.cs, .../PomAllElementsPage.xaml.cs, .../POMWizardLib/LearnWizard/POMLearnConfigWizardPage.xaml.cs Improved POM wizard resource management, event handling, and publicized StopSpying method for consistent spy stopping logic.
.../POMWizardLib/DeltaWizard/PomDeltaSettingsWizardPage.xaml.cs, .../Application Models/Learn/POM/PomLearnUtils.cs Refined element type filtering and selection logic for POM delta and learning utilities.
.../POMWizardLib/LearnWizard/AIGeneratedPreviewWizardPage.xaml, .../AIGeneratedPreviewWizardPage.xaml.cs Removed local button style resource, set button properties inline, made buttons visible, and added WebView2 initialization for HTML preview.
.../POMWizardLib/LearnWizard/AddPOMFromScreenshotWizard.cs, .../UpdateMultipleWizard/UpdateMultiplePomWizard.cs Updated introduction markdown file paths for respective wizards.
.../POMWizardLib/LearnWizard/AddPOMScreenshotIntro.md, .../UpdateMultipleWizard/UpdateMultiplePOMtIntro.md Added new markdown documentation files for POM screenshot and update multiple POM wizards.
.../POMWizardLib/LearnWizard/BasePOMWizard.cs Added public property userTempDataFolderPath to BasePOMWizard.
.../POMWizardLib/LearnWizard/UploadMockUpWizardPage.xaml.cs, .../ReporterLib/UserMsgsPool.cs Increased image upload size limit to 5MB, updated user messages, and added corresponding enum/message key.
.../Ginger.csproj Included new markdown files as project resources.
.../ApplicationModelsTreeItems/ApplicationPOMsTreeItem.cs Restricted "Learn POM From MockUP's" menu to users with enterprise features enabled.
.../CheckInPage.xaml.cs, .../CreateNewBranch.xaml.cs, .../SourceControl/SourceControlProjectsPage.xaml.cs, .../SourceControl/GITSourceControl.cs Enhanced Git branch retrieval, improved source control object initialization, adjusted password binding, and added error handling for branch name retrieval.
.../APIModelLib/Postman/PostmanCollectionContract.cs, .../PostmanCollectionParser.cs, .../WireMockTemplatePage.xaml.cs, .../WireMockConfigurationPage.xaml.cs, .../WireMockMappingPage.xaml.cs, .../External/Configurations/WireMockConfiguration.cs, .../GeneralLib/ApiSettings.cs, .../SourceControlLib/GingerSolution.cs, .../Application Models/Delta/PomDelta/MultiPomRunSetMapping.cs, .../External/WireMock/WireMockAPI.cs, .../External/WireMock/WireMockMapping.cs, .../External/WireMock/WireMockMappingController.cs, .../External/WireMock/WireMockMappingGenerator.cs, .../RunLib/CLILib/Interfaces/IOptionValidation.cs Added or updated license headers for compliance.
.../GingerCoreCommon.csproj Downgraded assembly and file version, updated version property.
.../Repository/BusinessFlowLib/ActivitiesGroup.cs, .../VariablesLib/VariableBase.cs Added null checks to prevent exceptions in shared repository instance assignment.
.../Repository/GingerSolutionRepository.cs Changed configuration registration to use wildcard filename patterns and dedicated subfolders.
.../GeneralLib/General.cs Added internal method SetupRelativePath for solution-relative file path conversion.
.../Run/GingerExecutionEngine.cs Ensured application agents are updated when adding a shared repository activity.
.../Drivers/CoreDrivers/Web/POM/POMLearner.cs Corrected regex match handling for XPath locator generation.
.../Drivers/CoreDrivers/Web/Selenium/SeleniumDriver.cs Explicitly set DevTools protocol version, fixed XPath splitting, and improved action context for network logging.
.../UserCofig/UserProfileOperations.cs Added OS check to restrict credential operations to Windows.
.../Dockerfile Updated selenium-manager commands for Firefox and Edge to specify browser version 134.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant POMWizard
    participant PomAllElementsPage
    participant WebView2
    participant Agent

    User->>POMWizard: Start wizard (e.g., screenshot or update multiple)
    POMWizard->>PomAllElementsPage: Initialize and start spying
    POMWizard->>WebView2: Initialize for HTML preview
    User->>POMWizard: Upload screenshot or select action
    POMWizard->>WebView2: Render AI-generated HTML
    User->>POMWizard: Undo changes or close wizard
    POMWizard->>PomAllElementsPage: StopSpying()
    PomAllElementsPage->>PomAllElementsPage: StopSpy()
    POMWizard->>User: Close window
Loading

Possibly related PRs

  • Ginger-Automation/Ginger#4211: Adds ValidateWindowOS() to restrict credential operations to Windows, directly related to changes in UserProfileOperations.cs.
  • Ginger-Automation/Ginger#4200: Updates GetUniqueParamName and artifact publishing logic, overlapping with changes to parameter naming and artifact validation.
  • Ginger-Automation/Ginger#4212: Introduces DevToolsProtocolVersion in SeleniumDriver.cs, matching the protocol version handling in this update.

Poem

Hopping through code with a whisk of delight,
New docs and licenses make everything right.
Wizards now smarter, with previews that gleam,
Artifacts and agents join the team.
Paths more robust, and images grow,
This rabbit’s quite proud—off to the next show!
🐇✨

Note

⚡️ AI Code Reviews for VS Code, Cursor, Windsurf

CodeRabbit now has a plugin for VS Code, Cursor and Windsurf. This brings AI code reviews directly in the code editor. Each commit is reviewed immediately, finding bugs before the PR is raised. Seamless context handoff to your AI code agent ensures that you can easily incorporate review feedback.
Learn more here.


Note

⚡️ Faster reviews with caching

CodeRabbit now supports caching for code and dependencies, helping speed up reviews. This means quicker feedback, reduced wait times, and a smoother review experience overall. Cached data is encrypted and stored securely. This feature will be automatically enabled for all accounts on May 16th. To opt out, configure Review - Disable Cache at either the organization or repository level. If you prefer to disable all data retention across your organization, simply turn off the Data Retention setting under your Organization Settings.
Enjoy the performance boost—your workflow just got faster.


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c183169 and 3b4949c.

⛔ Files ignored due to path filters (1)
  • Ginger/Ginger/OpenAIappsetting.json is excluded by !**/*.json
📒 Files selected for processing (46)
  • Ginger/Ginger/Actions/ActionEditPage.xaml.cs (1 hunks)
  • Ginger/Ginger/ApplicationModelsLib/POMModels/POMEditPage.xaml.cs (3 hunks)
  • Ginger/Ginger/ApplicationModelsLib/POMModels/POMWizardLib/DeltaWizard/PomDeltaSettingsWizardPage.xaml.cs (1 hunks)
  • Ginger/Ginger/ApplicationModelsLib/POMModels/POMWizardLib/LearnWizard/AIGeneratedPreviewWizardPage.xaml (1 hunks)
  • Ginger/Ginger/ApplicationModelsLib/POMModels/POMWizardLib/LearnWizard/AIGeneratedPreviewWizardPage.xaml.cs (2 hunks)
  • Ginger/Ginger/ApplicationModelsLib/POMModels/POMWizardLib/LearnWizard/AddPOMFromScreenshotWizard.cs (2 hunks)
  • Ginger/Ginger/ApplicationModelsLib/POMModels/POMWizardLib/LearnWizard/AddPOMScreenshotIntro.md (1 hunks)
  • Ginger/Ginger/ApplicationModelsLib/POMModels/POMWizardLib/LearnWizard/BasePOMWizard.cs (1 hunks)
  • Ginger/Ginger/ApplicationModelsLib/POMModels/POMWizardLib/LearnWizard/POMLearnConfigWizardPage.xaml.cs (2 hunks)
  • Ginger/Ginger/ApplicationModelsLib/POMModels/POMWizardLib/LearnWizard/UploadMockUpWizardPage.xaml.cs (4 hunks)
  • Ginger/Ginger/ApplicationModelsLib/POMModels/POMWizardLib/UpdateMultipleWizard/UpdateMultiplePOMtIntro.md (1 hunks)
  • Ginger/Ginger/ApplicationModelsLib/POMModels/POMWizardLib/UpdateMultipleWizard/UpdateMultiplePomWizard.cs (1 hunks)
  • Ginger/Ginger/ApplicationModelsLib/POMModels/PomAllElementsPage.xaml.cs (1 hunks)
  • Ginger/Ginger/ApplicationModelsLib/WireMockAPIModels/WireMockTemplatePage.xaml.cs (1 hunks)
  • Ginger/Ginger/ExternalConfigurations/WireMockConfigurationPage.xaml.cs (1 hunks)
  • Ginger/Ginger/GeneralWindows/WireMockMappingPage.xaml.cs (1 hunks)
  • Ginger/Ginger/Ginger.csproj (2 hunks)
  • Ginger/Ginger/SolutionWindows/TreeViewItems/ApplicationModelsTreeItems/ApplicationPOMsTreeItem.cs (1 hunks)
  • Ginger/Ginger/SourceControl/CheckInPage.xaml.cs (1 hunks)
  • Ginger/Ginger/SourceControl/CreateNewBranch.xaml.cs (1 hunks)
  • Ginger/Ginger/SourceControl/SourceControlProjectsPage.xaml.cs (1 hunks)
  • Ginger/GingerAutoPilot/APIModelLib/Postman/PostmanCollectionContract.cs (1 hunks)
  • Ginger/GingerAutoPilot/APIModelLib/Postman/PostmanCollectionParser.cs (1 hunks)
  • Ginger/GingerCoreCommon/External/Configurations/WireMockConfiguration.cs (1 hunks)
  • Ginger/GingerCoreCommon/GeneralLib/ApiSettings.cs (1 hunks)
  • Ginger/GingerCoreCommon/GingerCoreCommon.csproj (1 hunks)
  • Ginger/GingerCoreCommon/ReporterLib/UserMsgsPool.cs (2 hunks)
  • Ginger/GingerCoreCommon/Repository/BusinessFlowLib/ActivitiesGroup.cs (1 hunks)
  • Ginger/GingerCoreCommon/Repository/GingerSolutionRepository.cs (1 hunks)
  • Ginger/GingerCoreCommon/SourceControlLib/GingerSolution.cs (1 hunks)
  • Ginger/GingerCoreCommon/VariablesLib/VariableBase.cs (1 hunks)
  • Ginger/GingerCoreNET/ActionsLib/ActPublishArtifacts.cs (4 hunks)
  • Ginger/GingerCoreNET/Application Models/Delta/PomDelta/MultiPomRunSetMapping.cs (1 hunks)
  • Ginger/GingerCoreNET/Application Models/Learn/POM/PomLearnUtils.cs (5 hunks)
  • Ginger/GingerCoreNET/Drivers/CoreDrivers/Web/POM/POMLearner.cs (1 hunks)
  • Ginger/GingerCoreNET/Drivers/CoreDrivers/Web/Selenium/SeleniumDriver.cs (4 hunks)
  • Ginger/GingerCoreNET/External/WireMock/WireMockAPI.cs (1 hunks)
  • Ginger/GingerCoreNET/External/WireMock/WireMockMapping.cs (1 hunks)
  • Ginger/GingerCoreNET/External/WireMock/WireMockMappingController.cs (1 hunks)
  • Ginger/GingerCoreNET/External/WireMock/WireMockMappingGenerator.cs (1 hunks)
  • Ginger/GingerCoreNET/GeneralLib/General.cs (1 hunks)
  • Ginger/GingerCoreNET/Run/GingerExecutionEngine.cs (1 hunks)
  • Ginger/GingerCoreNET/RunLib/CLILib/Interfaces/IOptionValidation.cs (1 hunks)
  • Ginger/GingerCoreNET/SourceControl/GITSourceControl.cs (1 hunks)
  • Ginger/GingerCoreNET/UserCofig/UserProfileOperations.cs (5 hunks)
  • Ginger/GingerRuntime/Dockerfile (1 hunks)
✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate Unit Tests
  • Create PR with Unit Tests
  • Commit Unit Tests in branch Releases/Official-Release
  • Post Copyable Unit Tests in Comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai or @coderabbitai title anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@Maheshkale447
Maheshkale447 merged commit 06551f5 into master May 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants