Skip to content

Commit b8ccbbb

Browse files
committed
adding test fixing hint
1 parent 77ee163 commit b8ccbbb

2 files changed

Lines changed: 9 additions & 8 deletions

File tree

GuiAutomation/AutomationRunner.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,8 @@ public List<GetByNameResults> GetWidgetsByName(string widgetName, double seconds
790790
return this;
791791
}
792792

793-
throw new Exception($"ClickByName Failed: Named GuiWidget not found [{widgetName}]");
793+
// If we see "Queue... Menu" we should be changing the test to look for a different source. There is no longer a queue menu.
794+
throw new Exception($"ClickByName Failed: Named GuiWidget not found [{widgetName}]");
794795
}
795796

796797
/// <summary>

Tests/Agg.Tests/Agg Automation Tests/FlowLayoutTests.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -192,14 +192,14 @@ public async Task SpacingClearedAfterLoadPositionsCorrectly()
192192
};
193193

194194
await AutomationRunner.ShowWindowAndExecuteTests(
195-
systemWindow,
196-
async (testRunner) =>
197-
{
198-
// Enable to observe
199-
// testRunner.Delay(30);
195+
systemWindow,
196+
async (testRunner) =>
197+
{
198+
// Enable to observe
199+
// testRunner.Delay(30);
200200

201-
await Assert.That(footerRow.Position.Y).IsEqualTo(0);//, "Footer should be positioned at Y0 when it is the first item in a TopToBottom FlowlayoutWidget");
202-
});
201+
await Assert.That(footerRow.Position.Y).IsEqualTo(0);//, "Footer should be positioned at Y0 when it is the first item in a TopToBottom FlowlayoutWidget");
202+
});
203203
}
204204

205205
[Test]

0 commit comments

Comments
 (0)