feat: refine branded operator experience
Add the MBN-branded startup intro, semantic sidebar icons, and refined card-based operator visuals. Strengthen packaged UI and input smoke coverage for the updated experience.
This commit is contained in:
@@ -107,6 +107,40 @@ public sealed class LegacyRuntimeAssetDeploymentContractTests
|
||||
StringComparison.OrdinalIgnoreCase);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void CustomerWordmarkIsProjectedFromTheAllowlistedLegacyAssetIntoTheTrustedWebRoot()
|
||||
{
|
||||
var project = XDocument.Load(ProjectPath);
|
||||
var brandAsset = Assert.Single(project.Descendants("LegacyBrandAsset"));
|
||||
Assert.Equal(
|
||||
"$(LegacyResSourceRoot)\\logo.png",
|
||||
brandAsset.Attribute("Include")?.Value);
|
||||
|
||||
var brandContent = Assert.Single(
|
||||
project.Descendants("Content"),
|
||||
element => string.Equals(
|
||||
element.Attribute("Include")?.Value,
|
||||
"@(LegacyBrandAsset)",
|
||||
StringComparison.Ordinal));
|
||||
Assert.Equal(
|
||||
"Web\\Brand\\%(Filename)%(Extension)",
|
||||
brandContent.Element("Link")?.Value);
|
||||
Assert.Equal(
|
||||
"Web\\Brand\\%(Filename)%(Extension)",
|
||||
brandContent.Element("TargetPath")?.Value);
|
||||
Assert.Equal(
|
||||
"PreserveNewest",
|
||||
brandContent.Element("CopyToOutputDirectory")?.Value);
|
||||
Assert.Equal(
|
||||
"PreserveNewest",
|
||||
brandContent.Element("CopyToPublishDirectory")?.Value);
|
||||
|
||||
var packagedResNames = project.Descendants("LegacyPackagedResAsset")
|
||||
.Select(element => Path.GetFileName(element.Attribute("Include")?.Value))
|
||||
.ToHashSet(StringComparer.OrdinalIgnoreCase);
|
||||
Assert.Contains("logo.png", packagedResNames);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void WebViewIgnoresItsPersistentCacheBeforeExactTrustedNavigation()
|
||||
{
|
||||
@@ -266,6 +300,7 @@ public sealed class LegacyRuntimeAssetDeploymentContractTests
|
||||
"$(LegacyCutsSourceRoot)\\%(LegacyRequiredScene.Identity).t2s",
|
||||
"$(LegacyCutsSourceRoot)\\%(LegacyRequiredBuiltInAsset.Identity)",
|
||||
"$(LegacyResSourceRoot)\\MmoneyCoder.ini",
|
||||
"$(LegacyResSourceRoot)\\logo.png",
|
||||
"$(LegacyResSourceRoot)\\종목.ini",
|
||||
"$(LegacyResSourceRoot)\\업종_코스피.ini",
|
||||
"$(LegacyResSourceRoot)\\업종_코스닥.ini",
|
||||
|
||||
Reference in New Issue
Block a user