Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | #!/usr/bin/env bash -v |
2 | ||
3 | ./setup.sh | |
4 | ||
5 | cd ../test/maxq | |
6 | ||
7 | # This script is used to run maxq generated test scripts. | |
8 | # Before running these scripts please see Common.py | |
9 | # In Common.py comment and uncomment the constants as per the need | |
31037a42 | 10 | # Below commands use someof the modes of maxq. The modes used are : |
6a488035 TO |
11 | # The -r mode is for running maxq generated test scripts. |
12 | # The -q mode is for quite mode while testing. | |
13 | # Instead of -q (quite mode), -d(debug mode) can be used. | |
31037a42 | 14 | # For all other options, fire $ maxq --help |
6a488035 TO |
15 | |
16 | ||
17 | ############################ | |
31037a42 | 18 | # Test for Adding Contacts # |
6a488035 TO |
19 | ############################ |
20 | ||
31037a42 EM |
21 | maxq -q -r testAddContactIndividual.py |
22 | maxq -q -r testAddContactHousehold.py | |
6a488035 TO |
23 | maxq -q -r testAddContactOrganization.py |
24 | ||
25 | ############################# | |
31037a42 | 26 | # Test for Editing Contacts # |
6a488035 TO |
27 | ############################# |
28 | ||
31037a42 EM |
29 | maxq -q -r testEditContactIndividual.py |
30 | maxq -q -r testEditContactHousehold.py | |
6a488035 TO |
31 | maxq -q -r testEditContactOrganization.py |
32 | ||
33 | ############################# | |
31037a42 | 34 | # Test for Viewing Contacts # |
6a488035 TO |
35 | ############################# |
36 | ||
31037a42 EM |
37 | maxq -q -r testViewContactIndividual.py |
38 | maxq -q -r testViewContactHousehold.py | |
6a488035 TO |
39 | maxq -q -r testViewContactOrganization.py |
40 | ||
41 | ############################################# | |
31037a42 | 42 | # Test for Relationship By Relationship Tab # |
6a488035 TO |
43 | ############################################# |
44 | ||
31037a42 EM |
45 | maxq -q -r testAddRelByRelTab.py |
46 | maxq -q -r testEditRelByRelTab.py | |
47 | maxq -q -r testViewRelByRelTab.py | |
6a488035 | 48 | maxq -q -r testDisableEnableRelByRelTab.py |
31037a42 | 49 | maxq -q -r testDeleteRelByRelTab.py |
6a488035 TO |
50 | |
51 | ######################################## | |
31037a42 | 52 | # Test for Relationship By Contact Tab # |
6a488035 TO |
53 | ######################################### |
54 | ||
55 | maxq -q -r testAddRelByContactTab.py | |
31037a42 | 56 | maxq -q -r testEditRelByContactTab.py |
6a488035 TO |
57 | |
58 | ############################### | |
31037a42 | 59 | # Test for Group By Group Tab # |
6a488035 TO |
60 | ############################### |
61 | ||
31037a42 | 62 | maxq -q -r testGroupAllByGroupTab.py |
6a488035 TO |
63 | maxq -q -r testGroupAllByContactTab.py |
64 | ||
65 | ############################# | |
31037a42 | 66 | # Test for Tags By Tags Tab # |
6a488035 TO |
67 | ############################# |
68 | ||
69 | maxq -q -r testTagsAllByTagsTab.py | |
70 | ||
71 | ############################## | |
31037a42 | 72 | # Test for Notes By Note Tab # |
6a488035 TO |
73 | ############################## |
74 | ||
31037a42 EM |
75 | maxq -q -r testAddNoteByNoteTab.py |
76 | maxq -q -r testEditNoteByNoteTab.py | |
77 | maxq -q -r testViewNoteByNoteTab.py | |
6a488035 TO |
78 | maxq -q -r testDeleteNoteByNoteTab.py |
79 | ||
80 | ################################# | |
31037a42 | 81 | # Test for Notes By Contact Tab # |
6a488035 TO |
82 | ################################# |
83 | ||
31037a42 | 84 | maxq -q -r testAddNoteByContactTab.py |
6a488035 TO |
85 | maxq -q -r testEditNoteByContactTab.py |
86 | maxq -q -r testDeleteNoteByNoteTab.py | |
87 | ||
88 | ####################### | |
31037a42 | 89 | # Test for Admin Tags # |
6a488035 TO |
90 | ####################### |
91 | ||
31037a42 EM |
92 | maxq -q -r testAdminAddTags.py |
93 | maxq -q -r testAdminEditTags.py | |
6a488035 TO |
94 | maxq -q -r testAdminDeleteTag.py |
95 | ||
96 | ################################ | |
31037a42 | 97 | # Test for Admin Location Type # |
6a488035 TO |
98 | ################################ |
99 | ||
31037a42 EM |
100 | maxq -q -r testAdminAddLocationType.py |
101 | maxq -q -r testAdminEditLocationType.py | |
6a488035 TO |
102 | maxq -q -r testAdminEnableDisableLocationType.py |
103 | maxq -q -r testAdminDeleteLocationType.py | |
104 | ||
105 | ################################## | |
31037a42 | 106 | # Test for Admin Mobile Provider # |
6a488035 TO |
107 | ################################## |
108 | ||
31037a42 EM |
109 | maxq -q -r testAdminAddMobileProvider.py |
110 | maxq -q -r testAdminEditMobileProvider.py | |
6a488035 TO |
111 | maxq -q -r testAdminEnableDisableMobileProvider.py |
112 | maxq -q -r testAdminDeleteMobileProvider.py | |
113 | ||
114 | ############################## | |
31037a42 | 115 | # Test for Admin IM Provider # |
6a488035 TO |
116 | ############################## |
117 | ||
31037a42 | 118 | maxq -q -r testAdminAddIMProvider.py |
6a488035 TO |
119 | maxq -q -r testAdminEditIMProvider.py |
120 | maxq -q -r testAdminEnableDisableIMProvider.py | |
121 | maxq -q -r testAdminDeleteIMProvider.py | |
122 | ||
123 | ##################################### | |
31037a42 | 124 | # Test for Admin Relationship Types # |
6a488035 TO |
125 | ##################################### |
126 | ||
31037a42 EM |
127 | maxq -q -r testAdminAddRel.py |
128 | maxq -q -r testAdminEditRel.py | |
129 | maxq -q -r testAdminViewRel.py | |
6a488035 TO |
130 | maxq -q -r testAdminEnableDisableRel.py |
131 | maxq -q -r testAdminDeleteRel.py | |
132 | ||
133 | #################################### | |
31037a42 | 134 | # Test for Admin Custom Data Group # |
6a488035 TO |
135 | #################################### |
136 | ||
31037a42 EM |
137 | maxq -q -r testAdminAddCustomDataGroup.py |
138 | maxq -q -r testAdminEditCustomDataGroup.py | |
6a488035 TO |
139 | maxq -q -r testAdminEnableDisableCustomDataGroup.py |
140 | maxq -q -r testAdminPreviewCustomDataGroup.py | |
141 | ||
142 | #################################### | |
31037a42 | 143 | # Test for Admin Custom Data Field # |
6a488035 TO |
144 | #################################### |
145 | ||
31037a42 EM |
146 | maxq -q -r testAdminAddCustomDataField.py |
147 | maxq -q -r testAdminEditCustomDataField.py | |
6a488035 TO |
148 | maxq -q -r testAdminEnableDisableCustomDataField.py |
149 | maxq -q -r testAdminPreviewCustomDataField.py | |
150 | ||
151 | ######################## | |
31037a42 | 152 | # Test for Custom Data # |
6a488035 TO |
153 | ######################## |
154 | ||
155 | maxq -r -q testEditCustomDataInline.py | |
156 | ||
157 | #maxq -q -r adminDeleteCustomDataField.py | |
158 | #maxq -q -r adminDeleteCustomDataGroup.py | |
159 | ||
160 | ############################## | |
31037a42 | 161 | # Test for Admin CiviDonate # |
6a488035 TO |
162 | ############################## |
163 | ||
164 | ################### | |
165 | # Contribute Mode # | |
166 | ################### | |
167 | ||
168 | maxq -r testAdminAddCiviDonateContributeMode.py | |
169 | maxq -r testAdminEditCiviDonateContributeMode.py | |
170 | maxq -r testAdminDisableEnableCiviDonateContributeMode.py | |
171 | maxq -r testAdminDeleteCiviDonateContributeMode.py | |
172 | ||
173 | ################### | |
174 | # Contribute Type # | |
175 | ################### | |
176 | ||
177 | maxq -r testAdminAddCiviDonateContributeType.py | |
178 | maxq -r testAdminEditCiviDonateContributeType.py | |
179 | maxq -r testAdminDisableEnableCiviDonateContributeType.py | |
180 | maxq -r testAdminDeleteCiviDonateContributeType.py | |
181 | ||
182 | ###################### | |
183 | # Payment Instrument # | |
184 | ###################### | |
185 | ||
186 | maxq -r testAdminAddCiviDonatePaymentInstrument.py | |
187 | maxq -r testAdminEditCiviDonatePaymentInstrument.py | |
188 | maxq -r testAdminDisableEnableCiviDonatePaymentInstrument.py | |
189 | maxq -r testAdminDeleteCiviDonatePaymentInstrument.py | |
190 | ||
191 | ########################## | |
31037a42 | 192 | # Test for Basic Search # |
6a488035 TO |
193 | ########################## |
194 | ||
31037a42 EM |
195 | maxq -q -r testSearchByLNameIndividual.py |
196 | maxq -q -r testSearchByHNameHousehold.py | |
197 | maxq -q -r testSearchByONameOraganization.py | |
198 | maxq -q -r testSearchByNoCriteria.py | |
199 | maxq -q -r testSearchByGroup.py | |
200 | maxq -q -r testSearchByContactTagGroupName.py | |
6a488035 TO |
201 | |
202 | ############################# | |
31037a42 | 203 | # Test for Advanced Search # |
6a488035 TO |
204 | ############################# |
205 | ||
31037a42 EM |
206 | maxq -q -r testAdvSearchByAllCriteria.py |
207 | maxq -q -r testAdvSearchByContactName.py | |
208 | maxq -q -r testAdvSearchByContactGroupCategory.py |