Skip to content

Commit

Permalink
update unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Sben65 authored and kbeaugrand committed Oct 25, 2022
1 parent 4865ae7 commit ee86f79
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ public void ClickOnSaveShouldPutEdgeDeviceDetails()

var items = popoverProvider.FindAll("div.mud-list-item");

cut.WaitForElement($"#{nameof(IoTEdgeDevice.DeviceName)}").Change("testName");
var actualDeviceName = cut.WaitForElement($"#{nameof(IoTEdgeDevice.DeviceName)}").GetAttribute("value");
cut.WaitForAssertion(() => mockIoTEdgeDevice.DeviceName.Equals(actualDeviceName, StringComparison.Ordinal));

// Click on Save
items[0].Click();
Expand Down

0 comments on commit ee86f79

Please sign in to comment.