Renamed TryRefindToast to TryRefindSuccessToast

This commit is contained in:
2025-11-09 20:35:05 +01:00
parent 1b95cf4d3b
commit 0002be08aa
2 changed files with 9 additions and 4 deletions

View File

@@ -77,7 +77,7 @@ public class InventoryPageTests : IDisposable
IWebElement okButton = _driver.FindElement(By.CssSelector("#viewAssetModal button.btn.btn-primary[data-bs-dismiss=\"modal\"]"));
okButton.Click();
Thread.Sleep(500);
Assert.True(AppHelper.TryRetryFindToast(_driver));
Assert.True(AppHelper.TryRetryFindSuccessToast(_driver));
}
[Fact]
@@ -98,7 +98,7 @@ public class InventoryPageTests : IDisposable
IWebElement okButton = _driver.FindElement(By.CssSelector("#updateAssetModal button.btn.btn-warning[type=\"submit\"]"));
okButton.Click();
Thread.Sleep(500);
Assert.True(AppHelper.TryRetryFindToast(_driver));
Assert.True(AppHelper.TryRetryFindSuccessToast(_driver));
}
[Fact]