You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running with Variant="spo" a few of the Sharepoint functional tests for policy 3.2 are generating warnings because the test cases are setting unnecessary fields. We should tweak the tests to only modify fields that actually change and get rid of the warning messages so that we can read the test results without clutter.
Warning message is "WARNING: Anonymous access links aren’t enabled for your organization. You must first enable them by running the command “Set-SPOTenant -SharingCapability ExternalUserAndGuestSharing” before you can set the FolderAnonymousLinkType property. We will not set the value in this case."
Here are the respective test cases that need tweaking. The fix is simple. Just remove the unnecessary fields such as FolderAnonymousLinkType which are being ignored by the cmdlet. The point of these tests is to ensure when the sharing slider is any value other than Anyone, the policy should produce a Non Applicable result.
The text was updated successfully, but these errors were encountered:
schrolla
added
Testing
This issue or task involves testing the automation tool function
bug
This issue or pull request addresses broken functionality
labels
Aug 21, 2024
💡 Summary
When running with Variant="spo" a few of the Sharepoint functional tests for policy 3.2 are generating warnings because the test cases are setting unnecessary fields. We should tweak the tests to only modify fields that actually change and get rid of the warning messages so that we can read the test results without clutter.
Warning message is "WARNING: Anonymous access links aren’t enabled for your organization. You must first enable them by running the command “Set-SPOTenant -SharingCapability ExternalUserAndGuestSharing” before you can set the FolderAnonymousLinkType property. We will not set the value in this case."
Here are the respective test cases that need tweaking. The fix is simple. Just remove the unnecessary fields such as FolderAnonymousLinkType which are being ignored by the cmdlet. The point of these tests is to ensure when the sharing slider is any value other than Anyone, the policy should produce a Non Applicable result.
The text was updated successfully, but these errors were encountered: