mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 06:51:55 +00:00
Added RetryFactAttribute
This commit is contained in:
@@ -33,7 +33,7 @@ public class InventoryPageTests : IDisposable
|
||||
_driver.FindElement(By.Id("scanBarcodeButton"));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
[RetryFact(5)]
|
||||
public void InventoryPage_ShouldShowCompleteViewModal()
|
||||
{
|
||||
AppHelper.Login(_driver);
|
||||
@@ -62,7 +62,7 @@ public class InventoryPageTests : IDisposable
|
||||
Assert.NotEmpty(_driver.FindElement(By.Id("detailPurchaseBy")).GetAttribute("value") ?? "");
|
||||
}
|
||||
|
||||
[Fact]
|
||||
[RetryFact(5)]
|
||||
public void InventoryPage_ShouldShowSuccessToastOnInformationCorrect()
|
||||
{
|
||||
AppHelper.Login(_driver);
|
||||
@@ -79,7 +79,7 @@ public class InventoryPageTests : IDisposable
|
||||
Assert.True(AppHelper.TryRetryFindSuccessToast(_driver));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
[RetryFact(5)]
|
||||
public void InventoryPage_ShouldShowSuccessToastOnInformationUpdate()
|
||||
{
|
||||
AppHelper.Login(_driver);
|
||||
|
||||
Reference in New Issue
Block a user