Merge pull request #20168 from larssandergreen/add-recurring-filter-to-contribution...
[civicrm-core.git] / tools / bin / scripts / test_sandbox.sh
CommitLineData
6a488035
TO
1#!/usr/bin/env bash -v
2
3./setup.sh
4
5cd ../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
21maxq -q -r testAddContactIndividual.py
22maxq -q -r testAddContactHousehold.py
6a488035
TO
23maxq -q -r testAddContactOrganization.py
24
25#############################
31037a42 26# Test for Editing Contacts #
6a488035
TO
27#############################
28
31037a42
EM
29maxq -q -r testEditContactIndividual.py
30maxq -q -r testEditContactHousehold.py
6a488035
TO
31maxq -q -r testEditContactOrganization.py
32
33#############################
31037a42 34# Test for Viewing Contacts #
6a488035
TO
35#############################
36
31037a42
EM
37maxq -q -r testViewContactIndividual.py
38maxq -q -r testViewContactHousehold.py
6a488035
TO
39maxq -q -r testViewContactOrganization.py
40
41#############################################
31037a42 42# Test for Relationship By Relationship Tab #
6a488035
TO
43#############################################
44
31037a42
EM
45maxq -q -r testAddRelByRelTab.py
46maxq -q -r testEditRelByRelTab.py
47maxq -q -r testViewRelByRelTab.py
6a488035 48maxq -q -r testDisableEnableRelByRelTab.py
31037a42 49maxq -q -r testDeleteRelByRelTab.py
6a488035
TO
50
51########################################
31037a42 52# Test for Relationship By Contact Tab #
6a488035
TO
53#########################################
54
55maxq -q -r testAddRelByContactTab.py
31037a42 56maxq -q -r testEditRelByContactTab.py
6a488035
TO
57
58###############################
31037a42 59# Test for Group By Group Tab #
6a488035
TO
60###############################
61
31037a42 62maxq -q -r testGroupAllByGroupTab.py
6a488035
TO
63maxq -q -r testGroupAllByContactTab.py
64
65#############################
31037a42 66# Test for Tags By Tags Tab #
6a488035
TO
67#############################
68
69maxq -q -r testTagsAllByTagsTab.py
70
71##############################
31037a42 72# Test for Notes By Note Tab #
6a488035
TO
73##############################
74
31037a42
EM
75maxq -q -r testAddNoteByNoteTab.py
76maxq -q -r testEditNoteByNoteTab.py
77maxq -q -r testViewNoteByNoteTab.py
6a488035
TO
78maxq -q -r testDeleteNoteByNoteTab.py
79
80#################################
31037a42 81# Test for Notes By Contact Tab #
6a488035
TO
82#################################
83
31037a42 84maxq -q -r testAddNoteByContactTab.py
6a488035
TO
85maxq -q -r testEditNoteByContactTab.py
86maxq -q -r testDeleteNoteByNoteTab.py
87
88#######################
31037a42 89# Test for Admin Tags #
6a488035
TO
90#######################
91
31037a42
EM
92maxq -q -r testAdminAddTags.py
93maxq -q -r testAdminEditTags.py
6a488035
TO
94maxq -q -r testAdminDeleteTag.py
95
96################################
31037a42 97# Test for Admin Location Type #
6a488035
TO
98################################
99
31037a42
EM
100maxq -q -r testAdminAddLocationType.py
101maxq -q -r testAdminEditLocationType.py
6a488035
TO
102maxq -q -r testAdminEnableDisableLocationType.py
103maxq -q -r testAdminDeleteLocationType.py
104
105##################################
31037a42 106# Test for Admin Mobile Provider #
6a488035
TO
107##################################
108
31037a42
EM
109maxq -q -r testAdminAddMobileProvider.py
110maxq -q -r testAdminEditMobileProvider.py
6a488035
TO
111maxq -q -r testAdminEnableDisableMobileProvider.py
112maxq -q -r testAdminDeleteMobileProvider.py
113
114##############################
31037a42 115# Test for Admin IM Provider #
6a488035
TO
116##############################
117
31037a42 118maxq -q -r testAdminAddIMProvider.py
6a488035
TO
119maxq -q -r testAdminEditIMProvider.py
120maxq -q -r testAdminEnableDisableIMProvider.py
121maxq -q -r testAdminDeleteIMProvider.py
122
123#####################################
31037a42 124# Test for Admin Relationship Types #
6a488035
TO
125#####################################
126
31037a42
EM
127maxq -q -r testAdminAddRel.py
128maxq -q -r testAdminEditRel.py
129maxq -q -r testAdminViewRel.py
6a488035
TO
130maxq -q -r testAdminEnableDisableRel.py
131maxq -q -r testAdminDeleteRel.py
132
133####################################
31037a42 134# Test for Admin Custom Data Group #
6a488035
TO
135####################################
136
31037a42
EM
137maxq -q -r testAdminAddCustomDataGroup.py
138maxq -q -r testAdminEditCustomDataGroup.py
6a488035
TO
139maxq -q -r testAdminEnableDisableCustomDataGroup.py
140maxq -q -r testAdminPreviewCustomDataGroup.py
141
142####################################
31037a42 143# Test for Admin Custom Data Field #
6a488035
TO
144####################################
145
31037a42
EM
146maxq -q -r testAdminAddCustomDataField.py
147maxq -q -r testAdminEditCustomDataField.py
6a488035
TO
148maxq -q -r testAdminEnableDisableCustomDataField.py
149maxq -q -r testAdminPreviewCustomDataField.py
150
151########################
31037a42 152# Test for Custom Data #
6a488035
TO
153########################
154
155maxq -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
168maxq -r testAdminAddCiviDonateContributeMode.py
169maxq -r testAdminEditCiviDonateContributeMode.py
170maxq -r testAdminDisableEnableCiviDonateContributeMode.py
171maxq -r testAdminDeleteCiviDonateContributeMode.py
172
173###################
174# Contribute Type #
175###################
176
177maxq -r testAdminAddCiviDonateContributeType.py
178maxq -r testAdminEditCiviDonateContributeType.py
179maxq -r testAdminDisableEnableCiviDonateContributeType.py
180maxq -r testAdminDeleteCiviDonateContributeType.py
181
182######################
183# Payment Instrument #
184######################
185
186maxq -r testAdminAddCiviDonatePaymentInstrument.py
187maxq -r testAdminEditCiviDonatePaymentInstrument.py
188maxq -r testAdminDisableEnableCiviDonatePaymentInstrument.py
189maxq -r testAdminDeleteCiviDonatePaymentInstrument.py
190
191##########################
31037a42 192# Test for Basic Search #
6a488035
TO
193##########################
194
31037a42
EM
195maxq -q -r testSearchByLNameIndividual.py
196maxq -q -r testSearchByHNameHousehold.py
197maxq -q -r testSearchByONameOraganization.py
198maxq -q -r testSearchByNoCriteria.py
199maxq -q -r testSearchByGroup.py
200maxq -q -r testSearchByContactTagGroupName.py
6a488035
TO
201
202#############################
31037a42 203# Test for Advanced Search #
6a488035
TO
204#############################
205
31037a42
EM
206maxq -q -r testAdvSearchByAllCriteria.py
207maxq -q -r testAdvSearchByContactName.py
208maxq -q -r testAdvSearchByContactGroupCategory.py