Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SharePoint test plan intermittent fails MS.SHAREPOINT.4.2v1 #622

Closed
crutchfield opened this issue Oct 27, 2023 · 9 comments · Fixed by #1309
Closed

SharePoint test plan intermittent fails MS.SHAREPOINT.4.2v1 #622

crutchfield opened this issue Oct 27, 2023 · 9 comments · Fixed by #1309
Assignees
Labels
bug This issue or pull request addresses broken functionality Testing This issue or task involves testing the automation tool function
Milestone

Comments

@crutchfield
Copy link
Contributor

crutchfield commented Oct 27, 2023

🐛 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 crutchfield added the bug This issue or pull request addresses broken functionality label Oct 27, 2023
@crutchfield crutchfield added this to the Backlog milestone Oct 27, 2023
@crutchfield
Copy link
Contributor Author

Consider filtering for correct site.

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

@tkol2022
Copy link
Collaborator

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.

@crutchfield
Copy link
Contributor Author

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.

@schrolla
Copy link
Collaborator

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

@mitchelbaker-cisa
Copy link
Collaborator

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

@nanda-katikaneni
Copy link
Collaborator

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

@tkol2022
Copy link
Collaborator

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.

@schrolla schrolla added the Testing This issue or task involves testing the automation tool function label Jul 24, 2024
@tkol2022
Copy link
Collaborator

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
Copy link
Collaborator

This will be addressed with PR #1309

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue or pull request addresses broken functionality Testing This issue or task involves testing the automation tool function
Projects
None yet
5 participants