001    /**
002     * Copyright 2005-2013 The Kuali Foundation
003     *
004     * Licensed under the Educational Community License, Version 2.0 (the "License");
005     * you may not use this file except in compliance with the License.
006     * You may obtain a copy of the License at
007     *
008     * http://www.opensource.org/licenses/ecl2.php
009     *
010     * Unless required by applicable law or agreed to in writing, software
011     * distributed under the License is distributed on an "AS IS" BASIS,
012     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013     * See the License for the specific language governing permissions and
014     * limitations under the License.
015     */
016    package edu.samplu.krad.compview;
017    
018    import edu.samplu.common.WebDriverLegacyITBase;
019    
020    import org.junit.Test;
021    
022    /**
023     * @author Kuali Rice Team (rice.collab@kuali.org)
024     */
025    public class RichMessagesValidationWDIT extends WebDriverLegacyITBase {
026            
027            @Override
028        public String getTestUrl() {
029            return "/kr-krad/uicomponents?viewId=RichMessagesView&methodToCall=start";
030        }
031    
032            @Test
033            public void testRichMessagesValidationIT() throws Exception {
034                    
035                    checkForIncidentReport(getTestUrl());
036            Thread.sleep(9000);
037    //        selectWindow(RICH_MESSAGES_WINDOW_TITLE);
038                    
039                    //Verify Basic Functionality Section
040                    super.verifyRichMessagesValidationBasicFunctionality();
041                                    
042                    //Verify Advanced Functionality Section
043                    super.verifyRichMessagesValidationAdvancedFunctionality();
044                                    
045                    //Verify Letters and Numbers Validation
046                    super.verifyRichMessagesValidationLettersNumbersValidation();
047                                    
048                    //Verify Radio and Checkbox groups rich messages Section
049                    super.verifyRichMessagesValidationRadioAndCheckBoxGroupFunctionality();
050                                    
051                    //Verify Link Declarations Section
052                    super.verifyRichMessagesValidationLinkDeclarationsFunctionality();
053            passed();
054            }
055            
056            
057    
058    }