1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package edu.sampleu.krad.compview;
17
18 import org.kuali.rice.testtools.common.JiraAwareFailable;
19 import org.kuali.rice.testtools.selenium.WebDriverLegacyITBase;
20
21
22
23
24
25
26 public abstract class ValidCharsConstraintAftBase extends WebDriverLegacyITBase {
27
28
29
30
31 public static final String BOOKMARK_URL = "/kr-krad/uicomponents?viewId=UifCompView&methodToCall=start&pageId=UifCompView-Page4";
32
33 @Override
34 protected String getBookmarkUrl() {
35 return BOOKMARK_URL;
36 }
37
38 protected void navigation() throws Exception {
39 waitAndClickKRAD();
40 waitAndClickByLinkText("Uif Components (Kitchen Sink)");
41 switchToWindow(KUALI_UIF_COMPONENTS_WINDOW_XPATH);
42 waitAndClickByLinkText("Validation");
43 waitAndClickByLinkText("Validation - Regex");
44 }
45
46 protected void testValidCharsConstraintNav(JiraAwareFailable failable) throws Exception {
47 navigation();
48 testValidCharsConstraintIT();
49 passed();
50 }
51
52 protected void testValidCharsConstraintBookmark(JiraAwareFailable failable) throws Exception {
53 testValidCharsConstraintIT();
54 passed();
55 }
56 }