[MGNLTEST-466] Improving DefinitionsProblemsFinder white-list-API to whitelist problems if details contain the text provided Created: 29/Nov/23  Updated: 16/Jan/24  Resolved: 19/Dec/23

Status: Closed
Project: Magnolia Test Framework
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Harshini Pola Assignee: Harshini Pola
Resolution: Resolved Votes: 0
Labels: UoE:TECH, UoE:Testing-Setup_Enabler, dx-core-6.3, extension-unification
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Epic Link: UoE - Enabler Tasks for Incubator Testing Setup
Team: Foundation
Work Started:
Approved:
Yes

 Description   

Improving DefinitionsProblemsFinder white-list-API also to whitelist problems starting with same text

Few times we see the same problem which is whitelisted previously is now shown as new problem because of change in order of the items. 

Eg: 
[jcrPublishedRule,jcrNodeNameRule,jcrDepthRule,isNotFormRoot,jcrPublishableRule,isSystemPropertyRule,isCommentingRoot,alwaysAvailable,siteImprovePrepublishRule,jcrStringPropertyRule,hasABTestVariantRule,isNotCommentingRoot,canPasteContentRule,jdbcIsPublishedRule,aiGenerateVariantAvailableRule,isMultiBlockStructureCompatibleWithI18nConfigRule,isFormRoot,jcrIsDeletedRule,jcrHasChildrenRule,hasRunningABTestRule,isNotDefaultLocaleRule,hasTemplateRule,campaignIsDefaultCategory,jcrHasVersionsRule,canCopyContentRule]

[jcrPublishedRule,jcrDepthRule,jcrNodeNameRule,isNotFormRoot,jcrPublishableRule,isSystemPropertyRule,isCommentingRoot,alwaysAvailable,siteImprovePrepublishRule,jcrStringPropertyRule,hasABTestVariantRule,isNotCommentingRoot,canPasteContentRule,jdbcIsPublishedRule,aiGenerateVariantAvailableRule,isMultiBlockStructureCompatibleWithI18nConfigRule,isFormRoot,jcrIsDeletedRule,jcrHasChildrenRule,hasRunningABTestRule,isNotDefaultLocaleRule,hasTemplateRule,campaignIsDefaultCategory,jcrHasVersionsRule,canCopyContentRule]

[jcrPublishedRule,jcrDepthRule,jcrNodeNameRule,isNotFormRoot,jcrPublishableRule,isSystemPropertyRule,isCommentingRoot,alwaysAvailable,siteImprovePrepublishRule,hasABTestVariantRule,jcrStringPropertyRule,isNotCommentingRoot,canPasteContentRule,jdbcIsPublishedRule,aiGenerateVariantAvailableRule,isMultiBlockStructureCompatibleWithI18nConfigRule,isFormRoot,jcrIsDeletedRule,jcrHasChildrenRule,hasRunningABTestRule,isNotDefaultLocaleRule,hasTemplateRule,campaignIsDefaultCategory,jcrHasVersionsRule,canCopyContentRule]

[jcrPublishedRule,jcrNodeNameRule,jcrDepthRule,isNotFormRoot,jcrPublishableRule,isSystemPropertyRule,isCommentingRoot,alwaysAvailable,siteImprovePrepublishRule,hasABTestVariantRule,jcrStringPropertyRule,isNotCommentingRoot,canPasteContentRule,jdbcIsPublishedRule,aiGenerateVariantAvailableRule,isMultiBlockStructureCompatibleWithI18nConfigRule,isFormRoot,jcrIsDeletedRule,jcrHasChildrenRule,hasRunningABTestRule,isNotDefaultLocaleRule,hasTemplateRule,campaignIsDefaultCategory,jcrHasVersionsRule,canCopyContentRule]
Above we can see 4 of them are similar issue but with different order - which leads to error and instability of the tests. 



 Comments   
Comment by Harshini Pola [ 19/Dec/23 ]

Updated, reviewed and merged.

Generated at Mon Feb 12 07:49:14 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.