NdsBeisUi/src/test/java/com/northgateps/nds/beis/ui/selenium/pagehelper/PageHelperFactory.java
// add exceptions to mapDcIdTo name if possible before adding to this method
add exceptions to mapDcIdTo name if possible before adding to this method
add exceptions to mapDcIdTo name if possible before adding to this method
@Override
        protected PageHelper createHelper(String dcId, WebDriver driver, Locale locale) {
            if (Objects.equals("report-forgotten-username", dcId)) {
                return new ReportForgottenUsernamePageHelper(driver, locale);
            } else if ("personalised-select-property-type".equals(dcId)) {
                return new PersonalisedSelectPropertyTypePageHelper(driver, locale);
            } else if ("exemption-start-date".equals(dcId)) {
        		return new PersonalisedExemptionStartDatePageHelper(driver, locale);
        	} else if ("personalised-exemption-document-upload".equals(dcId)) {
        		return new PersonalisedExemptionDocumentUploadPageHelper(driver, locale);
        	}
            return super.createHelper(dcId, driver, locale);
        }
@ Override protected PageHelper createHelper ( String dcId , WebDriver driver , Locale locale ) { if ( Objects . equals ( "report-forgotten-username" , dcId ) ) { return new ReportForgottenUsernamePageHelper ( driver , locale ) ; } else if ( "personalised-select-property-type" . equals ( dcId ) ) { return new PersonalisedSelectPropertyTypePageHelper ( driver , locale ) ; } else if ( "exemption-start-date" . equals ( dcId ) ) { return new PersonalisedExemptionStartDatePageHelper ( driver , locale ) ; } else if ( "personalised-exemption-document-upload" . equals ( dcId ) ) { return new PersonalisedExemptionDocumentUploadPageHelper ( driver , locale ) ; } return super . createHelper ( dcId , driver , locale ) ; }
add exceptions to mapDcIdTo name if possible before adding to this method
add exceptions to mapDcIdTo name if possible before adding to this method