BugFix - 40501 - Not Learning Form Elements#3821
Conversation
…. Then it is not adding those elements in Unmapped. RC: We were using the same filter for Form children elements as well. Need to use different filter for Form children. Fix: Implement Form children specific filter.
…ments show up on UI after completion of learning. RC: The Learn method of POMLearner returns the learned items list after completion. Fix: Change the method signature of all learning methods in POMLearner class to add items to the parameter list instead of returning the items.
WalkthroughThe recent changes improve the functionality of the Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
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 as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (2)
- Ginger/GingerCoreNET/Drivers/CoreDrivers/Web/POM/POMLearner.cs (5 hunks)
- Ginger/GingerCoreNET/Drivers/CoreDrivers/Web/Playwright/PlaywrightDriver.cs (1 hunks)
Additional comments not posted (7)
Ginger/GingerCoreNET/Drivers/CoreDrivers/Web/POM/POMLearner.cs (6)
62-64: LGTM! Ensure proper usage of the new parameter.The method signature change is approved.
However, ensure that the
learnedElementsparameter is correctly used and passed to other methods as intended.
67-83: LGTM! Ensure proper usage of the new parameter.The method signature change is approved.
However, ensure that the
learnedElementsparameter is correctly used and passed to other methods as intended.
Line range hint
86-139:
LGTM! Ensure proper usage of the new parameters.The method signature change is approved.
However, ensure that the
filterandlearnedElementsparameters are correctly used and passed to other methods as intended.
143-162: LGTM! Ensure proper usage of the static method.The method change to static is approved.
However, ensure that the method is correctly used as a static method throughout the codebase.
Line range hint
768-793:
LGTM! Ensure proper usage of the new parameter.The method signature change is approved.
However, ensure that the
learnedElementsparameter is correctly used and passed to other methods as intended.
798-830: LGTM! Ensure proper usage of the new parameter.The method signature change is approved.
However, ensure that the
learnedElementsparameter is correctly used and passed to other methods as intended.Ginger/GingerCoreNET/Drivers/CoreDrivers/Web/Playwright/PlaywrightDriver.cs (1)
598-606: LGTM! Ensure proper usage of the new parameter.The method signature change is approved.
However, ensure that the
foundElementsListparameter is correctly used and initialized as intended.
There was a problem hiding this comment.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (2)
- Ginger/GingerCoreNET/Drivers/CoreDrivers/Web/POM/POMLearner.cs (5 hunks)
- Ginger/GingerCoreNET/Drivers/CoreDrivers/Web/Playwright/PlaywrightDriver.cs (1 hunks)
Files skipped from review as they are similar to previous changes (2)
- Ginger/GingerCoreNET/Drivers/CoreDrivers/Web/POM/POMLearner.cs
- Ginger/GingerCoreNET/Drivers/CoreDrivers/Web/Playwright/PlaywrightDriver.cs
Thank you for your contribution.
Before submitting this PR, please make sure:
Summary by CodeRabbit
New Features
Refactor
Bug Fixes