feat: complete legacy parity and modernize operator UI
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user