Created
November 17, 2018 21:27
-
-
Save noakesey/02ae805b53791e08b9803b13bfe79063 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[SysTestMethodAttribute] | |
public void Customer_CollectionsManager_CanAddNewCase() | |
{ | |
using (wwPageContext pageContext = wwPageContext::construct(#PersonaB)) | |
{ | |
//Arrange | |
CustTable custTable = wwTestFixtureHelper::newCustomer(DirPartyType::Organization); | |
//Act | |
var customerlist = pageContext | |
.customerList() | |
.filterCustomersByAccount(custTable.AccountNum); | |
var customerTransactions = customerlist.openCustomerTransactions(); | |
var caseCreated = customerTransactions | |
.newCase(wwTestDataHelper::getRandomString(10)) | |
.close(); | |
//Assert | |
this.AssertTrue(caseCreated, msgUnableToCloseForm); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment