ScubaGear icon indicating copy to clipboard operation
ScubaGear copied to clipboard

SharePoint test plan intermittent fails MS.SHAREPOINT.4.2v1

Open crutchfield opened this issue 2 years ago • 7 comments

🐛 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:

  1. 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.

crutchfield avatar Oct 27 '23 14:10 crutchfield

Consider filtering for correct site.

Get-SPOSite -Limit All | Where-Object {($_.Url -NotLike '*-my*') -And ($_.Url -Like '*/') }

crutchfield avatar Oct 27 '23 14:10 crutchfield

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.

tkol2022 avatar Dec 14 '23 21:12 tkol2022

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.

crutchfield avatar Dec 15 '23 14:12 crutchfield

See #1060 for some additional details and analysis related to a more recent review of this item.

schrolla avatar Apr 29 '24 16:04 schrolla

@schrolla We should consider adding this into Iceberg since it relates to SharePoint functional test plan improvements #1093.

mitchelbaker-cisa avatar May 28 '24 17:05 mitchelbaker-cisa

Found the same issue while testing for Halibut release - policy 4.2 is consistently failing against GCCHIGH tenant. Screenshot below: Screenshot 2024-06-05 at 5 25 15 PM

nanda-katikaneni avatar Jun 06 '24 18:06 nanda-katikaneni

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.

tkol2022 avatar Jul 17 '24 20:07 tkol2022

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.

tkol2022 avatar Aug 26 '24 17:08 tkol2022

This will be addressed with PR #1309

tkol2022 avatar Sep 27 '24 15:09 tkol2022