1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package edu.samplu.krad.configview;
18
19 import edu.samplu.common.ITUtil;
20 import edu.samplu.common.WebDriverLegacyITBase;
21
22 import org.junit.Test;
23
24
25
26
27
28
29 public class CollectionsNavIT extends WebDriverLegacyITBase {
30
31
32
33
34 public static final String TEXT_COLLECTIONS_CONFIGURATION_TEST_VIEW_XPATH =
35 "(//a[contains(text(),'Collections Configuration Test View')])[2]";
36
37
38
39
40 public static final String KUALI_COLLECTION_WINDOW_TITLE = "Kuali :: Collection Test View";
41
42 @Override
43 public String getTestUrl() {
44 return ITUtil.PORTAL;
45 }
46
47
48
49
50 @Test
51 public void testDefaultTestsTableLayout() throws Exception {
52 navigate();
53 super.testDefaultTestsTableLayout();
54 passed();
55 }
56
57 private void navigate() throws InterruptedException {
58 waitAndClickKRAD();
59 waitAndClickByXpath(TEXT_COLLECTIONS_CONFIGURATION_TEST_VIEW_XPATH);
60 switchToWindow(KUALI_COLLECTION_WINDOW_TITLE);
61 }
62
63
64
65
66 @Test
67 public void testAddBlankLine() throws Exception {
68 navigate();
69 super.testAddBlankLine();
70 passed();
71 }
72
73
74
75
76 @Test
77 public void testActionColumnPlacement() throws Exception {
78 navigate();
79 super.testActionColumnPlacement();
80 passed();
81 }
82
83 @Test
84 public void testAddViaLightbox() throws Exception {
85 navigate();
86 super.testAddViaLightbox();
87 passed();
88 }
89
90 @Test
91 public void testColumnSequence() throws Exception {
92 navigate();
93 super.testColumnSequence();
94 passed();
95 }
96
97 @Test
98 public void testSequencerow() throws Exception {
99 navigate();
100 super.testSequencerow();
101 passed();
102 }
103
104 }