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