コード例 #1
0
ファイル: CaseCreationSteps.cs プロジェクト: iamcucusa/e2e
 public void ThereAreAtLeastCasesCreated(int cases)
 {
     FlowUtilities.WaitUntil(() =>
     {
         if (!(mainCasesPage.ReadPageLabel() > cases))
         {
             this.GivenICreateANewCaseWithoutProblemReport();
         }
         return(mainCasesPage.ReadPageLabel() > cases);
     }, TimeSpan.FromSeconds(10), TimeSpan.FromMilliseconds(100));
 }