ScubaGear
ScubaGear copied to clipboard
SharePoint test plan intermittent fails MS.SHAREPOINT.4.2v1
🐛 Summary
What's wrong? Please be specific. SharePoint test plan intermittent fails MS.SHAREPOINT.4.2v1 due to assumption of sites being in an explicit order.
To reproduce
Steps to reproduce the behavior:
- Run test plan against gcc high tenant
Expected behavior
What did you expect to happen that didn't?
Test cases for MS.SHAREPOINT.4.2v1 to pass
Any helpful log output or screenshots
Paste the results here:
Add any screenshots of the problem here.
Consider filtering for correct site.
Get-SPOSite -Limit All | Where-Object {($_.Url -NotLike '*-my*') -And ($_.Url -Like '*/') }
Reviewed 12/14
@crutchfield Can you please add a couple of sentences describing the problem in more detail?
Also I placed a priority of high because it looks like the Sharepoint test plan will not work on some tenants.
Reviewed 12/14
@crutchfield Can you please add a couple of sentences describing the problem in more detail?
Also I placed a priority of high because it looks like the Sharepoint test plan will not work on some tenants.
The Get-SPOSite returns a list of sites (including personal sites). We are looking for a specific site and its associated attributes. The query needs to filter for proper site and not just assume it is returned as teh first item in the array.
See #1060 for some additional details and analysis related to a more recent review of this item.
@schrolla We should consider adding this into Iceberg since it relates to SharePoint functional test plan improvements #1093.
Found the same issue while testing for Halibut release - policy 4.2 is consistently failing against GCCHIGH tenant. Screenshot below:
I reprioritized this because I was doing some testing with Sharepoint today on a different issue and I determined that the test plan for this policy affects the accuracy of the functional test in other tenants, not just GCC high. Therefore as the functional test is currently written, I don't have a high confidence that the functional test is working as it is supposed to even if you don't see any explicit errors in the command line when you run it. The fix is easy.
This is blocked because the respective Sharepoint setting is being deprecated by Microsoft. Probably not worth working on this if we are going to remove the setting from ScubaGear. @ahuynhMITRE for awareness.
This will be addressed with PR #1309