From 39629a152d6fa254a87e7476c73febcc9844a51a Mon Sep 17 00:00:00 2001 From: dhq_boiler Date: Mon, 27 Feb 2023 18:08:33 +0900 Subject: [PATCH 1/3] removed toggle and write down comment --- boilersGraphics.Test/UITests/LayersWindowTest.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boilersGraphics.Test/UITests/LayersWindowTest.cs b/boilersGraphics.Test/UITests/LayersWindowTest.cs index 7af5bb61..93f7649c 100644 --- a/boilersGraphics.Test/UITests/LayersWindowTest.cs +++ b/boilersGraphics.Test/UITests/LayersWindowTest.cs @@ -33,7 +33,7 @@ public void レイヤー1のアピアランスが正しく映っている() foreach (var layerItem in layerswindowPO.LayerItems) { - layerItem.ToggleButton(1); + //レイヤーアイテムはデフォルトで展開されるので、トグル不要 //レイヤー1 try @@ -73,7 +73,7 @@ public void アイテム1のアピアランスが正しく映っている() foreach (var layerItem in layerswindowPO.LayerItems) { - layerItem.ToggleButton(1); + //レイヤーアイテムはデフォルトで展開されるので、トグル不要 var layerItems = layerItem.LayerItems; try From 8b8e64f542ff6e5e7eb9b6b311743bad886eb447 Mon Sep 17 00:00:00 2001 From: dhq_boiler Date: Mon, 27 Feb 2023 18:09:21 +0900 Subject: [PATCH 2/3] set timeout --- boilersGraphics.Test/UITests/PageObjects/LayersWindowPO.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/boilersGraphics.Test/UITests/PageObjects/LayersWindowPO.cs b/boilersGraphics.Test/UITests/PageObjects/LayersWindowPO.cs index bd852dba..56ba9bc9 100644 --- a/boilersGraphics.Test/UITests/PageObjects/LayersWindowPO.cs +++ b/boilersGraphics.Test/UITests/PageObjects/LayersWindowPO.cs @@ -27,7 +27,7 @@ public void ToggleButton(int count) { for (int i = 0;i < count; i++) { - x.GetElementBy(By.XPath("//Button[@AutomationId=\"LayerItem_ToggleButton\"]")).Click(); + x.GetElementBy(By.XPath("//Button[@AutomationId=\"LayerItem_ToggleButton\"]"), 60 * 5).Click(); } } @@ -54,9 +54,9 @@ public Screenshot AppearanceImage } } - public IEnumerable LayerItems => GetElementsBy(By.XPath("//Custom[@AutomationId=\"DiagramControl\"]/Custom[@AutomationId=\"layers\"]/Group[@ClassName=\"Expander\"]/Tree[@AutomationId=\"LayersTreeView\"]/TreeItem")).Select(x => new LayerItemPO(Session, x)); + public IEnumerable LayerItems => GetElementsBy(By.XPath("//Custom[@AutomationId=\"DiagramControl\"]/Custom[@AutomationId=\"layers\"]/Group[@ClassName=\"Expander\"]/Tree[@AutomationId=\"LayersTreeView\"]/TreeItem"), 60 * 5).Select(x => new LayerItemPO(Session, x)); } - public IEnumerable LayerItems => GetElementsBy(By.XPath("//Custom[@AutomationId=\"DiagramControl\"]/Custom[@AutomationId=\"layers\"]/Group[@ClassName=\"Expander\"]/Tree[@AutomationId=\"LayersTreeView\"]/TreeItem")).Select(x => new LayerItemPO(Session, x)); + public IEnumerable LayerItems => GetElementsBy(By.XPath("//Custom[@AutomationId=\"DiagramControl\"]/Custom[@AutomationId=\"layers\"]/Group[@ClassName=\"Expander\"]/Tree[@AutomationId=\"LayersTreeView\"]/TreeItem"), 60 * 5).Select(x => new LayerItemPO(Session, x)); } } From 56a247cecf1d321e7f4161de6adcd62d51cd60f3 Mon Sep 17 00:00:00 2001 From: dhq_boiler Date: Mon, 27 Feb 2023 18:10:51 +0900 Subject: [PATCH 3/3] Update ReleaseNote.md --- ReleaseNote.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ReleaseNote.md b/ReleaseNote.md index ebaf1cba..f3e6dccd 100644 --- a/ReleaseNote.md +++ b/ReleaseNote.md @@ -1,6 +1,12 @@ # リリースノート +## v11.1.2 + +### バグフィックス + +* ユニットテストを修正しました。 + ## v11.1.1 ### バグフィックス