Skip to content

Instantly share code, notes, and snippets.

@noakesey
Created November 17, 2018 21:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save noakesey/02ae805b53791e08b9803b13bfe79063 to your computer and use it in GitHub Desktop.
Save noakesey/02ae805b53791e08b9803b13bfe79063 to your computer and use it in GitHub Desktop.
[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