private void setupTest() { if (!storeSearchAction.storeExistsByName("DEPOSIT_STORE_16")) { store1 = MerchantStore.builder() .storeNumber("SN_DEP_16") .name("DEPOSIT_STORE_16".intern()) .status(StoreStatus.ACTIVE) .storeType(StoreType.STORE) .timeZoneText("IDT - Asia/Calcutta") .regionText("Mountain") .priceGroupText("Default Price Group") .salesTaxText("Salt Lake City (6.500000)") .salesTaxFloorPercentage(2.5) .pifTaxPercentage(1) .languageText("English") .operatingFund(100) .operatingFundMax(200) .safeLimit(100.00) .safeUpperLimit(200.00) .create(); storeActions.createMerchantStore(store1); employee = Employee.builder() .firstName("John") .lastName("Deposit") .userName("User16") .password("demo1234") .expirePasswordNow(false) .role(DefaultRoles.ADMINISTRATOR.getText()) .assignedStores(ImmutableList.of(store1.getName().get())) .active(true) .commissionsEnabled(true) .create(); employeeActions.addEmployeeAndLoginChangingExpiredPassword( employee, store1.getName().get(), "demo4321"); drawer1 = CashDrawer.builder() .name("Drawer_Dep_016") .merchantStoreName(store1.getName().get()) .openerString("7") .status(CashDrawer.Status.ENABLED) .operatingFund(30.0) .operatingFundUpperLimit(100.00) .create(); drawerActions.addCashDrawer(drawer1); reconcileActions.openCashDrawer(drawer1, drawer1.getOperatingFund().get(), true); waits.waitForPageLoad(); } else { commonActions.logout(); commonActions.initializeSession( employee.getUserName().get(), "demo4321", store1.getName().get()); } }