@@ -0,0 +1,3062 @@
+/**%0A * Copyright 2005-2014 The Kuali Foundation%0A *%0A * Licensed under the Educational Community License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A * http://www.opensource.org/licenses/ecl2.php%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage org.kuali.rice.krad.labs.maintenance;%0A%0Aimport org.junit.Test;%0A%0A/**%0A * @author Kuali Rice Team (rice.collab@kuali.org)%0A */%0Apublic class LabsMaintenanceClearSecureFieldsBoCopyAft extends LabsMaintenanceBase %7B%0A%0A    /**%0A     * /kr-krad/kradsampleapp?viewId=KradMaintenanceSample-PageR4C3%0A     */%0A    public static final String BOOKMARK_URL = %22/kr-krad/kradsampleapp?viewId=KradMaintenanceSample-PageR4C3%22;%0A%0A    @Override%0A    protected String getBookmarkUrl() %7B%0A        return BOOKMARK_URL;%0A    %7D%0A%0A    @Override%0A    protected void navigate() throws Exception %7B%0A    %09navigateToMaintenance(%22Maintenance Sample - Clear secure fields on BO Copy%22);%0A    %7D%0A%0A    protected void testMaintenanceClearSecureFieldsBoCopyAsUserDev1() throws InterruptedException %7B%0A    %09waitAndClickByLinkText(%22Travel Account Maintenance clearing out secure fields upon a BO copy operation as user dev1%22);%0A    %09waitForElementPresentByXpath(%22//div%5B@data-label='Phone Number'%5D%22);%0A    %09String phoneNumber=getTextByXpath(%22//div%5B@data-label='Phone Number'%5D%22);%0A    %09assertElementPresentByXpath(%22//input%5B@name='document.newMaintainableObject.dataObject.phoneNumber' and @value='%22+phoneNumber+%22'%5D%22);%0A    %7D%0A    %0A    protected void testMaintenanceClearSecureFieldsBoCopyAsUserAdmin() throws InterruptedException %7B%0A    %09waitAndClickByLinkText(%22Travel Account Maintenance clearing out secure fields upon a BO copy operation as user admin%22);%0A    %09waitForElementPresentByXpath(%22//div%5B@data-label='Phone Number'%5D%22);%0A    %09String phoneNumber=getTextByXpath(%22//div%5B@data-label='Phone Number'%5D%22);%0A    %09if(!phoneNumber.equalsIgnoreCase(%22(xxx)xxx-xxxx%22))%7B%0A    %09%09jiraAwareFail(%22Phone Number is not Hidden from the User in BO Copy%22);%0A    %09%7D%0A    %7D%0A%0A    @Test%0A    public void testMaintenanceClearSecureFieldsBoCopyAsUserDev1Bookmark() throws Exception %7B%0A    %09testMaintenanceClearSecureFieldsBoCopyAsUserDev1();%0A        passed();%0A    %7D%0A%0A    @Test%0A    public void testMaintenanceClearSecureFieldsBoCopyAsUserDev1Nav() throws Exception %7B%0A    %09testMaintenanceClearSecureFieldsBoCopyAsUserDev1();%0A        passed();%0A    %7D%0A    %0A    @Test%0A    public void testMaintenanceClearSecureFieldsBoCopyAsUserAdminBookmark() throws Exception %7B%0A    %09testMaintenanceClearSecureFieldsBoCopyAsUserAdmin();%0A        passed();%0A    %7D%0A%0A    @Test%0A    public void testMaintenanceClearSecureFieldsBoCopyAsUserAdminNav() throws Exception %7B%0A    %09testMaintenanceClearSecureFieldsBoCopyAsUserAdmin();%0A        passed();%0A    %7D%0A%7D%0A

Class Name renamed.