Skip to content

Commit

Permalink
Merge branch 'release/v11.1.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
dhq-boiler committed Feb 27, 2023
2 parents 3eb9dc4 + 56a247c commit 65891f2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions ReleaseNote.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@

# リリースノート

## v11.1.2

### バグフィックス

* ユニットテストを修正しました。

## v11.1.1

### バグフィックス
Expand Down
4 changes: 2 additions & 2 deletions boilersGraphics.Test/UITests/LayersWindowTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public void レイヤー1のアピアランスが正しく映っている()

foreach (var layerItem in layerswindowPO.LayerItems)
{
layerItem.ToggleButton(1);
//レイヤーアイテムはデフォルトで展開されるので、トグル不要

//レイヤー1
try
Expand Down Expand Up @@ -73,7 +73,7 @@ public void アイテム1のアピアランスが正しく映っている()

foreach (var layerItem in layerswindowPO.LayerItems)
{
layerItem.ToggleButton(1);
//レイヤーアイテムはデフォルトで展開されるので、トグル不要

var layerItems = layerItem.LayerItems;
try
Expand Down
6 changes: 3 additions & 3 deletions boilersGraphics.Test/UITests/PageObjects/LayersWindowPO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

Expand All @@ -54,9 +54,9 @@ public Screenshot AppearanceImage
}
}

public IEnumerable<LayerItemPO> 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<LayerItemPO> 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<LayerItemPO> 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<LayerItemPO> 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));
}
}

0 comments on commit 65891f2

Please sign in to comment.