Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[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
You can’t perform that action at this time.