From cf7090cdd8e9c00a6d2a6dc1ef79930035803c46 Mon Sep 17 00:00:00 2001
From: tfarcraw <123211521@163.com>
Date: Fri, 13 Nov 2026 09:10:24 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E9=BD=90=E5=AE=9E=E6=97=B6=E5=9B=BE?=
=?UTF-8?q?=E4=B8=8E=E8=BF=87=E7=A8=8B=E5=9B=BE=E5=AE=BD=E5=BA=A6=E5=B9=B6?=
=?UTF-8?q?=E6=89=A9=E5=B1=95=E6=97=A5=E5=BF=97=E6=98=BE=E7=A4=BA=E9=AB=98?=
=?UTF-8?q?=E5=BA=A6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/SopHelper.Avalonia/VVMs/SopPage/SopPage.axaml | 10 +++++-----
tests/Avalonia.Smoke/Program.cs | 2 ++
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/src/SopHelper.Avalonia/VVMs/SopPage/SopPage.axaml b/src/SopHelper.Avalonia/VVMs/SopPage/SopPage.axaml
index 7644075..d658f3a 100644
--- a/src/SopHelper.Avalonia/VVMs/SopPage/SopPage.axaml
+++ b/src/SopHelper.Avalonia/VVMs/SopPage/SopPage.axaml
@@ -22,7 +22,7 @@
-
+
@@ -51,13 +51,13 @@
-
+
-
+
@@ -135,7 +135,7 @@
-
+
@@ -171,7 +171,7 @@
-
+
diff --git a/tests/Avalonia.Smoke/Program.cs b/tests/Avalonia.Smoke/Program.cs
index ae8a89e..e06b921 100644
--- a/tests/Avalonia.Smoke/Program.cs
+++ b/tests/Avalonia.Smoke/Program.cs
@@ -90,6 +90,8 @@ internal static class Smoke
Check(settings.GetVisualDescendants().OfType().Count()==2&&settings.GetVisualDescendants().OfType().Count()==2,"Camera, recipe, threshold and stride editors are on settings page");
await CheckRecipeSelection(window,navigation,sop);
if(_recipeSelectionOnly){_exit=0;return;}
+ // 后续断言针对 demo 的四步三域,不能依赖新增模板后的文件排序。
+ sop.SelectedRecipe="demo.yaml";
sop.ApplyRecipeCommand.Execute();
Check(sop.ActiveRecipe==sop.SelectedRecipe,"Applied recipe is shown as current");
var applied=sop.ActiveRecipe;var selected=sop.SelectedRecipe;