public static void MergeWOPIPtfConfigFiles(ITestSite siteInstance)
{
if (!hasMergeWOPIPtfConfigFile)
{
// Set the default short name for WOPI.
siteInstance.DefaultProtocolDocShortName = WopiProtocolShortName;
// Merge the common configuration.
string conmmonConfigFileName = Common.GetConfigurationPropertyValue("CommonConfigurationFileName", siteInstance);
Common.MergeGlobalConfig(conmmonConfigFileName, siteInstance);
// Merge the SHOULDMAY configuration
Common.MergeSHOULDMAYConfig(siteInstance);
hasMergeWOPIPtfConfigFile = true;
}
}