public void AddClosingFile() { HelperSet.HelperMethodAddWorkflow(); string closingFileNumber = $"CF{new Random().Next(200, 500000)}"; var headerMenu = new HeaderManu(Driver); var login = new LoginPage(Driver, Configuration); var closingFileRep = new ClosingFilesRepository(DbConn); headerMenu .ClickAddCircleButton() .ClickClosingButton() .TypeFilenumberField(closingFileNumber) .ChooseTransactionTypeValue() .ChooseFinanceTypeValue() .ChooseUsageTypeValue() .ChoosePropertyTypeValue() .ClickNextButton(); var dbFileNumber = closingFileRep.GetClosingNumberList(closingFileNumber); Assert.IsTrue(dbFileNumber.Contains(closingFileNumber), "New ClosingFile is created"); closingFileRep.DeleteClosingFiles(UserEmail, closingFileNumber); }
public void SignOut() { var haderManu = new HeaderManu(_driver); haderManu.SignOut(); }