Andreas Granig
d117dc39c7
TT#13301 Use cached API cert for API test speed-up
...
If no locally cached API cert is available, download one and use it
throughout all of the tests. Speed-up factor is ~3x.
Change-Id: I083985f4e4ec7d8f7f4e0beec3a604be80a4bb59
8 years ago
Irina Peshinskaya
dbd63c2181
TT#5953 Implement wav conversion to the GSM for the voicemail greetings
...
Change-Id: I425c7cd66bb9ce38cadbbf4804738a47d9942383
8 years ago
Irina Peshinskaya
63958c3edb
TT#7453 Add readonly time fields to the customers api
...
Change-Id: I46e2c5d6def84b2cb5bab99d15838671274ce44b
8 years ago
Irina Peshinskaya
d31c66cdd5
TT#7029 Make deletion quiet again
...
Change-Id: I2efe78891c7532baafc4238c6a37702326ca414d
8 years ago
Irina Peshinskaya
fcb03e435c
TT#8185 Fix domain deletion for the reseller
...
Change-Id: Ia42db03fb9ddbb1b5d192b82fbf9b2f9ce881dff
8 years ago
Irina Peshinskaya
6268023c42
TT#8185 Add reseller_id to the domain for the reseller roles
...
Change-Id: I61a2c8e7b4897a539755b8b6a3261145e6f4b69c
8 years ago
Irina Peshinskaya
c31e254486
TT#5953 Voicemail greetings
...
Change-Id: I6024de5a9264b765097dfce3f7ab4b99637eabe3
9 years ago
Irina Peshinskaya
37f6d0ea6e
TT#5954 Add announcement field to the destinations
...
Change-Id: I2ac25edfd03bb9f72f343be1cb398a09ef29fb12
9 years ago
Irina Peshinskaya
56649aaa05
TT#6800 Add sandbox script to rename already existing profiles
...
Change-Id: Ibb51e308b27f5e06d521fc6b4cd8ed1588857bda
9 years ago
Irina Peshinskaya
f7be40f0c9
TT#7029 Remove redefined methods, inserted by wrong merge
...
Change-Id: Ia08d26144f55d2f3b2922098d9e54187fd803eac
9 years ago
Irina Peshinskaya
574af77e44
TT#7029 Improvements for fakedata clearance
...
Change-Id: I77ca5a58b131004fc309abd3ca85acc2ad546b27
9 years ago
Irina Peshinskaya
ae5e887dc2
TT#3648 Add banned ips and users API interface
...
Change-Id: Ifbaafdfaf2194f84729bfb91c79453fd186dc5c6
9 years ago
Irina Peshinskaya
ad62a1a5a1
MT#17173 Mass collections tests
...
Change-Id: I377cfec13a7f18dc6e1688cd3b57dbc4d11210ad
(cherry picked from commit 8d18584276558e3fed70c1043850e42d102139f9)
9 years ago
Irina Peshinskaya
69966040c6
MT#12347 Cache for FakeData to increase tests speed in massive run
...
Conflicts:
t/lib/Test/FakeData.pm
Change-Id: I7bbeab2b65ad56d6d4d291f9fca14fb7754b6c3b
(cherry picked from commit 3d78efeb96150e33661d6a5d3d1bc1351f315aad)
9 years ago
Irina Peshinskaya
4ba79328ad
MT#12347 Allow to show curl command only for patch
...
Change-Id: I06e5be4154963dc2d707dce88760d27968ec396c
9 years ago
Irina Peshinskaya
85e93b5d19
TT#3994 Add download csv to LNP and EmergencyMapping API
...
Change-Id: I517cc28dd3244e2f62b6ff3ed3f5197bb53b3561
9 years ago
Irina Peshinskaya
2b430bdd8d
MT#18561 Change of the LIID is forbidden
...
Also call agent request in the update_item method, to make it more safe.
And added lost transaction commit
Fix 500 response for the incorret x3_port input
Change-Id: Ic538ffdd4d7fff833ba5395934a1b2bc6cf71664
9 years ago
Gerhard Jungwirth
cf845a9f71
MT#15269 increase stable tests, small fixes
...
* fix api-root
* fix api-balanceintervals
* fix warning in Test::Collection (typo)
* add new tests to stable: balanceintervals, customers, faxes, lnp, root
* add new test to fast: root
Change-Id: I058b586c6f2e166106194038de233126715121e8
9 years ago
Irina Peshinskaya
53c815d1db
MT#20369 Catch duplicated alias error on subscriber update
...
Change-Id: I27eb47a82cd81f7a9d9d797eb98251d8b2cf03ed
9 years ago
Alexander Lutay
edd66789e7
Revert "MT#12347 Improve fake data clearance"
...
Commit broke 'stable' and 'fast' REST API testcases.
This reverts commit 645f60695b
.
Change-Id: Ic21f14223cb2f114689aaf618812021983565225
9 years ago
Irina Peshinskaya
645f60695b
MT#12347 Improve fake data clearance
...
Change-Id: I57d9a6bf1471e06503f0fec342287379c38807eb
9 years ago
Irina Peshinskaya
9713936cd4
MT#18601 Consider cloudpbx feature configuration in tests
...
Change-Id: I8c69abcf24779fb93af726294b56bb5c16b06ff6
9 years ago
Irina Peshinskaya
694b3e011b
MT#18601 Fix tests
...
If no subscriber existed, first is a pilot, and doesn't consider groupmembers.
Also fix getting created hal, which was unconditionally overwritten by loaded
Change-Id: Ie2cf76624f125dbc9aaffc1ffab19319028c2c6f
9 years ago
Irina Peshinskaya
418c6ee246
MT#18601 Fix getting pbx relations
...
Change-Id: Ie9f844d73b082abc74d989bc3da5fb41c62aa793
9 years ago
Irina Peshinskaya
81bb0509dc
MT#15633 API for peering groups, servers, rules
...
Change-Id: Ic39751a622240f12c5d790ee15ea3a329d731807
9 years ago
Irina Peshinskaya
56234716ee
MT#17137 Rewrite rules documentation enchancement
...
Change-Id: I27c51191ff7a02ceaa848d8ab718a996b739273c
9 years ago
Irina Peshinskaya
7fffffb199
MT#16121 Optimize callforwards GET method
...
Change-Id: I5672073eaa8b5594a3e4d4d2be64054584771d2b
10 years ago
Irina Peshinskaya
ea559c623e
MT#12347 Fix rest-api tests based on FakeData
...
Change-Id: I28822fc4f8bb38da3e878cf935dee290797e2f8f
10 years ago
Irina Peshinskaya
755ca9312a
MT#16323 Add rating_status field into item response and filter for collection
...
Change-Id: Idc82840fd20cfa74ed0e6abe041125e8bb105f8f
10 years ago
Rene Krenn
59339ffc89
MT#16171 useless joins for source_subs = OR dest_subs =
...
+subscriber instead of source_subscriber typo fixed
+rudimentary test case to see if the filter works
+fixed in/out direction filter testcase: sum of in and
out calls should be >= total count of calls
Change-Id: Ibe4b8153f023c53bb463626ad9e6613992fc101d
10 years ago
Irina Peshinskaya
0a8124350d
MT#12347 Faxes feature state check as pseudo test
...
Change-Id: Iead11b1aabd936c442ca6a9a3dadfb783fa91100
10 years ago
Irina Peshinskaya
c54c24aabf
MT#12347 Fix catalyst config getting for tests
...
But it is unclear why not /etc/ngcp-panel/ngcp_panel.conf
Change-Id: Id57c284069fe52a3bce4d7191122580baa12e927
10 years ago
Irina Peshinskaya
aecc110bcf
MT#12347 Fix too early distruction of the local test_machine
...
Change-Id: I3cee1fc783a715a24a3209d434cede2b0df57012
10 years ago
Irina Peshinskaya
33066cc374
MT#12347 Remove unnecessary debug from FakeData
...
Change-Id: I4a5c7c814cdddf442e6a8b89d79d4d06d16b9388
10 years ago
Irina Peshinskaya
57edaa4689
MT#14461 Adjust subscriber for faxes after subscriber creation
...
Fix faxserversettings PUT/PATCH processing found after faxes tests run
MT#15441 Tests for subscriber number changes
MT#12347 Test framework small fixes and additions
Some format changes and unused library removals
Add put_and_get method as common
Replace request_get & check 200 with check_item_get
Changes for API that doesn't return created object json after POST
Complete base_uri using replacement with normalize_uri
Change-Id: Ia31a97eb9511f1ca1de63c72bcbe380b89dfed34
10 years ago
Irina Peshinskaya
91a6aeb6f6
MT#12347 Safe decode json content
...
Change-Id: Id5f4eaf27e2c537a7da7c9bb6fadde33f7eb2605
10 years ago
Irina Peshinskaya
1a3e7dd75b
MT#14477 Fax API (list, send fax, get meta, get content)
...
Change-Id: I29ebef545d0f92945d13765d963693949f6d8264
(cherry picked from commit e2b5411af98a5374552a2c80cf256e6cf1a22e30)
10 years ago
Irina Peshinskaya
a529ec74eb
MT#12347 Simple tests for cfdestinations
...
Change-Id: I2d2467c1a6411cd348799de269cf9e8c4af2773d
10 years ago
Gerhard Jungwirth
36f0930561
MT#15033 unify api test authentication
...
making tests finally compatible with jessie.
there is one test left using certificate auth now,
the others use password auth. this enables us to move
the certificate logic out of Module::Build.
also, sipwise::base has been mostly removed from the
modified files.
Change-Id: Id0d9172c2f3f7ca2b69eaa9f16eeb99dc1d6ea11
10 years ago
Irina Peshinskaya
dd9365f0e8
MT#14739 Get newly created kamailio user location after flush
...
MT#14779 Add default value for the q parameter
MT#14891 Consider form validation for the POST request (create location)
MT#14789 Remove user_agent registration parameter
Change-Id: I9f81ec3ec5c308c731b3dfe6aa5f075c7d7b50ab
10 years ago
Alexander Lutay
5879cfe0e1
MT#14585 Move selenium tests on Selenium::Remote::Driver(::Extensions)
...
Change-Id: I5c2133598196a620d4e8a6376beb800cdde81f3c
10 years ago
Irina Peshinskaya
faabf6b55a
MT#14653 Fix the tests
...
Mess with name of the collection for fake data should be refactored.
Change-Id: I273cfad940f46d12df19a0774aa3b88e47687151
10 years ago
Irina Peshinskaya
4ff9e340c0
MT#14653 Don't delete billing_profile_id from API form for HTML::Formhandler
...
Change-Id: I8eebdf82caf18923f05c868f0413c23db4777814
10 years ago
Andreas Granig
21764a52c3
MT#14741 Fix reseller ops for /api/trustedsources/
...
Change-Id: Ie225f3f87ca878a3bf9c70d63cc336922fa5c688
10 years ago
Irina Peshinskaya
8bd4a9af7e
MT#12347 Some local configs example
...
export LOCAL_TEST=https://192.168.x.x:yyyy
perl -I {PATH}/ngcp-panel/t/lib/ {PATH}/ngcp-panel/t/api-xxx.t
Change-Id: I162000581304af6b33c58ca432e2ce25e328bd41
10 years ago
Rene Krenn
c378681a24
MT#13903 balance interval catchup and resize WIP
...
+ synchronized contract balance catchup
+ balance interval resizing upon profile package transitions
+ dynamic interval length, interval start, carry-over propagation, ..
+ end-of-month 'preserve' mode correction for strictly aligned month intervals for start_mode=customer "create" timestamp
+ new api/balanceintervals resource to inspect contracts' balance interval histories
+ updated affected panel UI controllers
+ test case with time warps using Time::Fake
caveats:
- creating an invoice for a given 'period' (month) has to be refactored to select a disitnct balance interval. right now it takes the last interval in the month specified.
- generate_invoice.pl is broken and needs a major refactoring
Change-Id: I7bb54a83b76e510b1baa573a986d05400a7fec1e
10 years ago
Irina Peshinskaya
ba2ad483f4
MT#13717 Use correct directory for data load from the test scripts
...
Change-Id: I348856d77a1d8916dc6421af29d1a927477f4289
10 years ago
Irina Peshinskaya
90d235c7b0
MT#13717 Avoid duplicate names for billing profiles
...
Change-Id: I8896d2f3c1d8a3f698630374f7dc6512f798cc94
10 years ago
Irina Peshinskaya
2581c10452
MT#13717 Consider necessity of recreation items with cycled dependency
...
... and no edit available (edit is forbidden)
Change-Id: I99374eef0e519c6e4dbbdb3be2fd898016efdc18
10 years ago
Irina Peshinskaya
039fd497b5
MT#12347 Make necessary changes to keep data in the test scripts
...
Adopt tests from vouchers. Suggest to use in vouchers.
Change-Id: Ia157c2c6028a2d2d323fdc1d1d766e6e1f182e56
(cherry picked from commit dd5c984e61
)
10 years ago
Irina Peshinskaya
5590b410ea
MT#11147 Move test libraries to the correct location
...
Change-Id: I0cfa8e406831e41ac1093c916ffcb69c04fbe2d0
10 years ago
Gerhard Jungwirth
a35314d0aa
MT#11827 validate sip uri
...
Change-Id: I19281ec28eb6708e824963bef8a4e0523499add8
10 years ago
Gerhard Jungwirth
4170966771
MT#3435 fix tests
...
all selenium tests are working locally with selenium 2.31.0 and
phantomjs 1.9.1 and an empty db-schema dump
particular fixes:
- skip some tests, when no domain is yet created
- select_if_unselected to prevent unselecting preselected checkboxes
- increase some waiting times to fix races with ajax calls
12 years ago
Gerhard Jungwirth
25e0057b24
add tests for billing controller
...
and make weekdays generic
12 years ago
Gerhard Jungwirth
0b72c2dc42
improve selenium tests
...
- fix workaround to make buttons visible
- let all tests work with selenium-webdriver and phantomjs
12 years ago
Gerhard Jungwirth
0ccd99747f
more selenium tests
...
for controllers: reseller, domain
12 years ago
Gerhard Jungwirth
af2dbd8825
add some selenium tests
...
for the controllers: domain and reseller
12 years ago
Lars Dieckow
3c2946026d
test through webdriver
12 years ago