feat: complete legacy parity and modernize operator UI

This commit is contained in:
2026-07-22 12:34:46 +09:00
parent fc4007d676
commit 939c252d23
149 changed files with 26515 additions and 1736 deletions

View File

@@ -86,6 +86,27 @@ public sealed class LegacyOverseasOperatorControllerTests
controller.CreatePlayoutRequest().Playlist[1].Selection!.GraphicType);
}
[Fact]
public async Task DuplicateIndustryDisplayNamesKeepChosenTupleInRuntimePlaylist()
{
var controller = CreateController(industries:
[
new("Shared", "First Input", "NAS@ONE"),
new("Shared", "Second Input", "NAS@TWO")
]);
controller.SelectTab(LegacyOperatorTabId.OverseasStocks);
var searched = await controller.SearchOverseasIndustriesAsync(string.Empty);
controller.SelectOverseasIndustry(searched.Overseas!.Industry.Results[1].SelectionId);
controller.ActivateOverseasAction("industry-current");
var runtimeSelection = Assert.Single(
controller.CreatePlayoutRequest().Playlist).Selection!;
Assert.Equal("FOREIGN_INDUSTRY", runtimeSelection.GroupCode);
Assert.Equal("Shared", runtimeSelection.Subject);
Assert.Equal("Second Input|NAS@TWO|US|0", runtimeSelection.DataCode);
}
[Fact]
public async Task NonUsStockKeepsOneExactIdentityThroughBothActualUc5SceneAliases()
{