Class CancelAndReplaceTest
- java.lang.Object
-
- org.openbravo.test.base.OBBaseTest
-
- org.openbravo.base.weld.test.WeldBaseTest
-
- org.openbravo.test.cancelandreplace.CancelAndReplaceTest
-
public class CancelAndReplaceTest extends WeldBaseTest
Tests cases to check Cancel and Replace development
-
-
Field Summary
Fields Modifier and Type Field Description ParameterCdiTestRule<CancelAndReplaceTestData>
parameterValuesRule
Defines the values the parameter will take.-
Fields inherited from class org.openbravo.test.base.OBBaseTest
DOLLAR, DOLLAR_ID, EURO, EURO_ID, QA_TEST_ADMIN_USER_ID, QA_TEST_CLIENT_ID, QA_TEST_ORG_ID, TEST_BP_CATEGORY_ID, TEST_CLIENT_ID, TEST_LOCATION_ID, TEST_ORDER_ID, TEST_ORG_ID, TEST_ORG_TREE, TEST_PRODUCT_ID, TEST_ROLE_ID, TEST_US_ORG_ID, TEST_USER_ID, TEST_WAREHOUSE_ID, TEST2_USER_ID, userIds, watchFailures
-
-
Constructor Summary
Constructors Constructor Description CancelAndReplaceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancelAndReplaceTest()
Verifies Cancel and Replace functionality API with one or more than one replacement.-
Methods inherited from class org.openbravo.base.weld.test.WeldBaseTest
createTestArchive, getWeldComponent, resetOBInterceptors, setUp
-
Methods inherited from class org.openbravo.test.base.OBBaseTest
addReadWriteAccess, classSetUp, commitTransaction, count, getConnectionProvider, getOneInstance, getRandomUser, getTestLogAppender, initializeDalLayer, initializeDisabledTestCases, initializeTestLogAppender, isErrorOccured, reportException, rollback, setLogStackTraces, setQAAdminContext, setSystemAdministratorContext, setTestAdminContext, setTestLogAppenderLevel, setTestUserContext, setUserContext, shouldMockServletContext, staticInitializeDalLayer, testDone
-
-
-
-
Field Detail
-
parameterValuesRule
public ParameterCdiTestRule<CancelAndReplaceTestData> parameterValuesRule
Defines the values the parameter will take.
-
-
Method Detail
-
cancelAndReplaceTest
public void cancelAndReplaceTest()
Verifies Cancel and Replace functionality API with one or more than one replacement. Clone and existing Order. Click on Cancel and Replace process that will create two new Orders in temporary status. Update the Orders depending on the test executed and finally confirm those orders. Different check points have been added in each stage to verify the results of the processes.
-
-