Rene Krenn
5cab4a0760
MT#11917 force JSON::PP for tests
...
Change-Id: I5dd7eb2d4ab8b0750cd3647e9b6323090ca8d79a
10 years ago
Rene Krenn
6803ce7498
MT#11917 remove billingzones
...
Change-Id: I439910b08e52a870f2bda55e6660da40a620dbc1
10 years ago
Rene Krenn
bce0058915
MT#11917 test enviroment json boolean conversion
...
Change-Id: I5b880bfdd39898a14e50949aa9858f800d4bd558
10 years ago
Rene Krenn
de347c6057
MT#11917 non-empty 'description' fields
...
to pass tests...
Change-Id: Ifc847dafaf3c39d31d9c66681a120e256fc61250
10 years ago
Rene Krenn
c411ece3a9
MT#11917 'must-have' api resources complete
...
- ApplyRewrites
+ AutoAttendants
~ BillingFees
OK + BillingProfiles
+ BillingZones
- CallControls
OK * CallForwards
- CallLists
- Calls
OK * CCMapEntries
OK * CFDestinationSets
OK * CFMappings
OK * CFTimeSets
OK ~ Contracts
+ CustomerBalances
OK * CustomerContacts
OK * CustomerPreferences
OK * Customers
- CustomerZoneCosts
+ DomainPreferences
OK + Domains
~ EmailTemplates
OK * FaxserverSettings
- Interceptions
- Invoices
~ InvoiceTemplates
+ NcosLevels
+ NcosPatterns
+ PbxDeviceConfigFiles
+ PbxDeviceConfigs
+ PbxDeviceFirmwareBinaries
~ PbxDeviceFirmwares
+ PbxDeviceModelImages
+ PbxDeviceModels
+ PbxDeviceProfiles
+ PbxDevices
OK * ProfilePreferences
OK * Reminders
OK ~ Resellers
+ RewriteRules
+ RewriteRuleSets
- SoundFileRecordings
~ SoundFiles
~ SoundHandles
OK * SoundSets
OK * SpeedDials
OK * SubscriberPreferences
OK ~ SubscriberProfiles
OK ~ SubscriberProfileSets
- SubscriberRegistrations
OK * Subscribers
OK ~ SystemContacts
OK * TrustedSources
- VoicemailRecordings
- Voicemails
* VoicemailSettings
Change-Id: Ibbaf8be32c6cda71637e16c40f345a15b8c1f530
10 years ago
Rene Krenn
bcb6f1e7cd
MT#11917 CFTimeSets
...
Change-Id: I35f2d44fe0281f1f63483a4fe24d3dd0ece482fd
10 years ago
Rene Krenn
0d361710f7
MT#11917 CFTimeSets typos
...
Change-Id: I9cc3b44581906f9b26ffa1735a60fb2e05178ada
10 years ago
Rene Krenn
3bc8f283a2
MT#11917 fix typo to re-run tests
...
Change-Id: Ie17777f3b5f6b68df48d8efbbd86d2d3d7db3ed2
10 years ago
Rene Krenn
83fdc85702
MT#11917 include journal in generated API doc page
...
Change-Id: Iab13239e892823e2708f5b13b985db42be45d136
10 years ago
Rene Krenn
b5dca5e6e2
MT#11917 next batch of API resources w. journal
...
-enhanced test detail: did not detect missing CRUD operations yet
-query param 'operation' didn't work for 'recent' yournal entry of all API resources so far
-fix of several copy paste errors in existing rest api code
-...
Change-Id: I71b54212d8126b0280fcad2e568fad52a673cbf0
10 years ago
Rene Krenn
edf5da9bad
MT#12347 ngcp_panel.conf location for jenkins
...
Change-Id: Ia7e293c1329cb406974a5067e64ecd2a761e7506
10 years ago
Irina Peshinskaya
d5964c474a
MT12347 In attempt to find correct config location
...
See error message from
https://jenkins/view/All/job/ngcp-panel-rest-api/14758/
Change-Id: I3ec7bfaa96fe9ce2ce55d88c8be5cfbf47b38a6f
10 years ago
Irina Peshinskaya
9c77c88709
MT#11147 Don't use brute-forced test data clearing
...
It doesn't work for the remote db server, and hardcode is a evil.
Change-Id: I1aa5b220bd2212e2b98afbc2845c95faec4f160d
10 years ago
Rene Krenn
96c731a144
MT#11917 Journaling for first set of resources
...
the journal module introduces a change history of
resources modified by api invocations. the history of
the 'customer' resource demo is accessible at
/api/customers/x/journal.
Change-Id: I4d5d11bc3e35160feed587ce4c1db565991866b2
10 years ago
Irina Peshinskaya
957b848bec
MT#11147 use default DB account to clear test data from DB
...
Change-Id: I85b7a2f21930ccf03bafc617fb6f5c423a1a61ed
10 years ago
Irina Peshinskaya
25982e1c54
MT#11147 Return test data clearing directly in the db
...
Change-Id: Id0b76e37cd0e62e31c57f06debe658381e18e4fb
10 years ago
Irina Peshinskaya
5590b410ea
MT#11147 Move test libraries to the correct location
...
Change-Id: I0cfa8e406831e41ac1093c916ffcb69c04fbe2d0
10 years ago
Irina Peshinskaya
11979e04ad
MT#11147 Create fake data for the devicemodels and pbxdevices tests
...
Change-Id: I782bd536fe6dc18d35857519f463329fba0c9da2
10 years ago
Gerhard Jungwirth
a35314d0aa
MT#11827 validate sip uri
...
Change-Id: I19281ec28eb6708e824963bef8a4e0523499add8
10 years ago
Irina Peshinskaya
ec9c71dbe3
MT#11147 Phone extensions
...
Change-Id: Ie08f85030a26dc00fe246c71e73a81bd001a2be4
10 years ago
Andreas Granig
07016f6f7a
MT#11741 Add pbxdevicemodelimages to tests
...
Change-Id: I273ce1d67f092da9843c99fa8fb55d70bdef4d73
10 years ago
Irina Peshinskaya
6fbbc11dcd
MT#10797 Fix message in the tests.
...
Change-Id: I938dc41b9d87ca1b0ac55cb7e2d82a6102df29dd
11 years ago
Andreas Granig
299fa89266
MT#10537 Skip GET test on calllists.
...
It needs a subscriber_id also for the collection, which we don't
have in this test.
11 years ago
Andreas Granig
8b5a820b3f
MT#10537 Add calllists to test list
11 years ago
Andreas Granig
f9d954af7f
MT#10199 Add prof prefs to test.
11 years ago
Alexander Lutay
16c9418253
MT#9677 Updated test accordingly to trunk changes
...
We have disabled (by default) www_csc and split new
selfcare and admin interfaces, selenium tests should be
updated accordingly.
Change-Id: Idef367a8b4bec1624a3d11819f03ef18f1b94a16
11 years ago
Alexander Lutay
7ec63b08a2
MT#9481 Fix REST API test for changes introduced in 8122482
...
Change-Id: Ib5c6a21b2dc1d7a3ec905e41cc3a4b7c00922d2c
(cherry picked from commit d4f1a9b43f
)
11 years ago
Andreas Granig
9dc97d1ed3
MT#9481 API: use correct balance link
11 years ago
Andreas Granig
eced8fc589
MT#9481 API: contract doesn't have link to balance
...
Removed on purpose.
11 years ago
Alexander Lutay
eb2e344fe0
MT#9481 REST API test fix: add new item customerbalances, see a58ac04
...
Change-Id: I7a89f9edbc76a0fadd41f403014a7b4e9be8f42b
11 years ago
Alexander Lutay
a668352876
MT#9481 REST API test fix: link contractbalances was deleted in 83bd0f9
...
Change-Id: I40d95c5050ac62fc067d8a52e3ee89e54c084044
11 years ago
Gerhard Jungwirth
ff21cd6c92
MT#9291 fix Api test cf once more
...
check both destination and simple_destination
see also MT#9263
11 years ago
Gerhard Jungwirth
cf404f1b9a
MT#2655 setup Test::Perl::Critic::Progressive
11 years ago
Gerhard Jungwirth
cc778971a8
MT#8729 api-test callforward deflation
...
new format without sip:...
11 years ago
Gerhard Jungwirth
535a44fa6d
MT#8613 add /api/interceptions to test
11 years ago
Alexander Lutay
4a897f0d19
MT#7791 Add ccmapentries to REST API test
11 years ago
Alexander Lutay
99fd32c80e
MT#7867 Add REST API check for 'invoicetemplates'
11 years ago
Gerhard Jungwirth
17f092219f
MT#7959 fix contract PUT/PATCH, tests
...
now that type is checked by form, it must be
properly passed by put/patch. Also error message changed.
(cherry picked from commit 526a6c1a19
)
11 years ago
Andreas Granig
fcdf809237
MT#7747 Adapt tests to latest change.
11 years ago
Alexander Lutay
5409d3834b
MT#7803 Late typo fix t/api-root.t
11 years ago
Alexander Lutay
b71d4cefca
MT#7803 Add invoice details REST API to t/api-root.t
11 years ago
Gerhard Jungwirth
49f14f8e8f
MT#7447 fix api customers test
...
we now show terminated customers by default, so filter for
active ones only. see also MT#7797
11 years ago
Alexander Lutay
307dbf0891
MT#7649 Update test for new RESI API links
11 years ago
Alexander Lutay
4efe1b5499
MT#7177 Restore missed contracts check, typo in 8082eec6
11 years ago
Alexander Lutay
7a9d2803d1
MT#7177 Reorder REST test links alphabetically, removed duplicates
11 years ago
Alexander Lutay
8082eec68c
MT#7177 Fix REST API test (add applyrewrites)
11 years ago
Alexander Lutay
25c9d9f3e1
MT#7177 Fix REST API test (add callcontrols check)
11 years ago
Andreas Granig
2fece899a0
MT#7495 Add customer prefs to test.
...
Check for customer prefs and related defs in test.
11 years ago
Gerhard Jungwirth
c4413fb183
MT#7447 add new collections to api test
...
ncoslevels,ncospatterns,soundhandles
11 years ago
Gerhard Jungwirth
9eda12c6fc
MT#7421 api tests
...
test OPTIONS (and GET) on all collections
11 years ago
Gerhard Jungwirth
8f5c6d0907
MT#7239 API faxserversettings
11 years ago
Gerhard Jungwirth
f942aed9e1
MT#7211 API add autoattendants to test
11 years ago
Alexander Lutay
306145510a
MT#7191 Fix tests (country selection support)
11 years ago
Gerhard Jungwirth
ac74b9774d
MT#3955 API callcosts: GET
11 years ago
Gerhard Jungwirth
582b835db6
MT#7067 fix api tests
11 years ago
Gerhard Jungwirth
718f10cf24
MT#3941 API: add voicemail relations to test
11 years ago
Gerhard Jungwirth
d71f12aff9
MT#3937 API speeddials get
...
collection and item
11 years ago
Gerhard Jungwirth
0de65edace
MT#6827 API pbxdevicemodels GET
11 years ago
Gerhard Jungwirth
313bf84e6a
MT#6827 API pbxdeviceconfigs GET
11 years ago
Gerhard Jungwirth
0430f83d46
MT#6827 API pbxdeviceprofiles GET
11 years ago
Andreas Granig
8d7db36171
MT#3931 Fix reseller fetch in customercontact test
11 years ago
Victor Seva
f1672e9c53
MT#6833 MT#6695 use api_ssl directory
11 years ago
Gerhard Jungwirth
a11b53aa3e
MT#6497 API cfmappings GET
11 years ago
Gerhard Jungwirth
2dd40a8999
MT#6497 API cftimesets
11 years ago
Gerhard Jungwirth
d4cf98646d
MT#6497 API cfdestinationsets
11 years ago
Gerhard Jungwirth
64015835d5
MT#6497 API: callforwards - tests
11 years ago
Gerhard Jungwirth
fc1c89a7c1
MT#6497 API: get callforwards (simple)
11 years ago
Gerhard Jungwirth
6acd3f210d
MT#6295 API: allow tests without invalid/unauth cert
...
which are (for now) difficult to get on test machines
11 years ago
Gerhard Jungwirth
e4d2a22ef6
MT#6295 fix api-root test
...
Update currently available links
11 years ago
Gerhard Jungwirth
46e5f4431c
MT#6195 api tests adjustments - use is
11 years ago
Gerhard Jungwirth
edd904ce45
MT#6295 API: fix tests Prefer header no longer required
11 years ago
Gerhard Jungwirth
63aa4e35f7
MT#6195 API: rewriterule/rewriteruleset basic tests
11 years ago
Gerhard Jungwirth
386b2f410f
MT#6195 api-tests: use is instead of ok
...
better diagnostics
11 years ago
Gerhard Jungwirth
cc3a7eaa2a
MT#5751 test stability: dataTables filter
...
always search for a non-existing row before searching
for the real entry, to get a fresh row, and a deterministic
dom change. (see 5751#c37775)
11 years ago
Gerhard Jungwirth
20a73ec489
MT#5751 prevent staleelement exception when searching datatables
...
if this ajax call is not yet finished it changes the table, which interferes
with the commands which follow
remove it, as there should be only one row anyways
see 5751#c37733
11 years ago
Alexander Lutay
87f5af1d16
MT#5955 Increase window size to support selenium tests with iceweasel >=24
11 years ago
Gerhard Jungwirth
cbd0438c95
MT#4871 fix domain test
...
the skip part was never executed
also make it more robust
12 years ago
Gerhard Jungwirth
d4c0d8de50
MT#4771 increase wait-timeout on admin-login test
...
see 4771#c31437
12 years ago
Gerhard Jungwirth
a66fd07e90
MT#4771 fix customer test, select product
...
see also 4871#c31665
12 years ago
Gerhard Jungwirth
fdd4c48b19
MT#4771 fix selenium resolution for reseller test
...
see comment, 4771#c31437
for more on tests, see MT#4871
12 years ago
Gerhard Jungwirth
ac17c5421d
MT#4871 Change screenres of selenium-tests to 1024x768
...
which complies with our video output
12 years ago
Andreas Granig
456df97df0
MT#3931 API: implement customer contract handling.
12 years ago
Andreas Granig
3a07a53967
MT#3925 API: Merge branch 'agranig/rest'
12 years ago
Andreas Granig
3db6117dfd
MT#3931 API: Implement customer contacts.
...
Move update parts into role.
Implement customer contacts.
12 years ago
Andreas Granig
5c5668da28
MT#3949 API: Implement reseller resource handling.
12 years ago
Andreas Granig
c0a6264507
MT#5299 API: Implement implicit zone def for fees
12 years ago
Andreas Granig
d12520982f
MT#5299 API: more billing tests and bug fixes.
12 years ago
Andreas Granig
cd2d9e47aa
MT#5255 Fix boolean handling and HFH validation
12 years ago
Andreas Granig
5ba6edcadc
MT#5299 API: add first tests for billing profiles.
12 years ago
Andreas Granig
45a460a1ce
MT#3949 API: implement contracts handling.
12 years ago
Gerhard Jungwirth
0e8b1f6950
MT#4871 selenium-tests: unskip tests, timer information
...
they magically work now
and add timer informating as discussed with alutay
12 years ago
Andreas Granig
7a782eb4fb
MT#5255 API: Create roles for resources.
...
Collections and Items have common functions (e.g. hal_from_xxx),
so move them into separate roles.
12 years ago
Andreas Granig
6bb57f08f2
MT#3997 Finish API skeleton.
...
We should now have working baselines for
- collections (SystemContacts)
- items (SystemContactsItem)
with support for
- collections: OPTIONS, HEAD, GET, POST
- items: OPTIONS, HEAD, GET, PUT, PATCH, DELETE
covered by according tests and with a proper API documentation.
12 years ago
Andreas Granig
f4a9e39a8a
MT#5255 API: move contacts to systemcontacts.
...
Clearly distinguish between systemcontacts (those without reseller) from
customercontacts (those with resellers). Separating them frees us from
having to handle reseller_id magic.
12 years ago
Andreas Granig
beb93987eb
MT#3997 API: move req/res log functions to Role.
12 years ago
Andreas Granig
81bd123070
MT#3997 API: add notes about tests to be done
12 years ago
Andreas Granig
a135c00190
MT#5255 API: prevent DELETE of used contact
12 years ago
Andreas Granig
a6c3ecb580
MT#5255 API: Implement DELETE for contacts
12 years ago
Andreas Granig
2c51cbd0fb
MT#3997 Fix PUT with reseller_id=null for contact
12 years ago
Andreas Granig
e4a3adeb08
MT#3997 Add OPTIONS tests for API::Root
12 years ago
Andreas Granig
515990623f
MT#3997 Fix general collection/item handling.
...
Use paging.
Start adding tests for contacts/ collection.
Move more common functions to Role.
Use proper forms for field checking.
12 years ago
Gerhard Jungwirth
0f44c12ad0
MT#4871 Add Selenium Tests for "Customer" page
...
locally tested with: firefox, chrome, htmlunit, phantomjs
remotely tested with: jenkins selenium
12 years ago
Gerhard Jungwirth
93ab17cc97
MT#4871 Cleanup basic controller tests
...
The tests t/controller_NAME.t are automatically generated by the
catalyst.pl script. They were not complete and individually dont have much
function, so lets group them together in one file.
12 years ago
Gerhard Jungwirth
39698f4ce7
MT#3435 quickfixes for tests
...
* mysql user sipwise@localhost
* selenium wait timeout 10 seconds
* dont use title (because it does not wait for the page to be loaded)
12 years ago
Gerhard Jungwirth
9353d44d32
MT#3435 skip problematic tests
...
A problem with the selenium installation on our jenkins seems
to be, that sometimes a page is loaded twice, which for example
deletes an item twice, which results in an error message in the
panel. For now, lets mark the tests which fail on that reason optional.
12 years ago
Gerhard Jungwirth
8d1bc950c6
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
a78a6ba011
MT#3435 fix failing tests due to changed login
...
procedure
12 years ago
Andreas Granig
a7ae65ca82
MT#3925 Use forms for validation only; other fixes
...
Don't use JE for data validation, as it adds lots of processing overhead.
Properly use Formhandler for data validation.
Catch DB errors properly.
Write basic auth test.
12 years ago
Gerhard Jungwirth
483a24b480
MT#4871 Add Selenium Tests for "Customer" page
...
locally tested with: firefox, chrome, htmlunit, phantomjs
remotely tested with: jenkins selenium
12 years ago
Gerhard Jungwirth
839f4cb5ab
MT#4871 Cleanup basic controller tests
...
The tests t/controller_NAME.t are automatically generated by the
catalyst.pl script. They were not complete and individually dont have much
function, so lets group them together in one file.
12 years ago
Gerhard Jungwirth
b3a97399fc
MT#3435 quickfixes for tests
...
* mysql user sipwise@localhost
* selenium wait timeout 10 seconds
* dont use title (because it does not wait for the page to be loaded)
12 years ago
Gerhard Jungwirth
cab87afdb6
MT#3435 skip problematic tests
...
A problem with the selenium installation on our jenkins seems
to be, that sometimes a page is loaded twice, which for example
deletes an item twice, which results in an error message in the
panel. For now, lets mark the tests which fail on that reason optional.
12 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
b8a1e28b71
MT#3435 fix failing tests due to changed login
...
procedure
12 years ago
Gerhard Jungwirth
962eced885
use config file ngcp-schema/share/test.conf for testing
...
for NGCP::Schema
we activate this behaviour by setting the environment variable
NGCP_PANEL_CONFIG_LOCAL_SUFFIX to "testing" which is a feature
from Catalyst::Plugin::ConfigLoader
12 years ago
Gerhard Jungwirth
562a9ccce6
adapt more tests
...
all tests are now succeeding again
(with firefox, chrome, htmlunit and phantomjs)
12 years ago
Gerhard Jungwirth
1a073dffd6
adapt peering test to recent changes
12 years ago
Gerhard Jungwirth
778c3caba3
fix missing validation on integer preferences
...
which failed a test
also adapt the domain test to the new login path
12 years ago
Gerhard Jungwirth
123e20852d
Adapt billing test to recent fixes
12 years ago
Gerhard Jungwirth
4b4c393c41
adapt new schema with single namespace
...
just domain creation/delete is not working yet
12 years ago
Gerhard Jungwirth
1ba3f2b598
fix billing test
...
handle is now a required form field
12 years ago
Gerhard Jungwirth
02d27a814b
CRUD Sound Sets and Sound Files
12 years ago
Gerhard Jungwirth
34f8a717df
CRUD NCOS Levels and NCOS Number Patterns.
12 years ago
Gerhard Jungwirth
6d9ae4bffe
fix reseller tests
12 years ago
Gerhard Jungwirth
48f1a3a3a5
Rewrite Rule Set and Rewrite Rule Management
12 years ago
Gerhard Jungwirth
9b8f7bb52e
Add selenium test for peering controller
12 years ago
Gerhard Jungwirth
b5449a575e
peering group management
...
- Show/Create/Edit/Delete of peering groups
- using a new controller
12 years ago
Gerhard Jungwirth
25e0057b24
add tests for billing controller
...
and make weekdays generic
12 years ago
Gerhard Jungwirth
210140f483
Make Preferences a button
...
Closes: sipwise-0003083
12 years ago
Lars Dieckow
0c3e980e61
correct dependencies
12 years ago
Gerhard Jungwirth
29c4afa729
tests: do diag output
12 years ago
Gerhard Jungwirth
9274a5c93d
fix tests
...
the new billing controller is a redirect if one is not logged in
12 years ago
Gerhard Jungwirth
1f73491b9c
Create new controller for Billing
12 years ago
Gerhard Jungwirth
1f2d8b7542
make all selenium tests work with chromium and htmlunit
...
selenium tests are now working with: firefox, chrome, htmlunit, phantomjs
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
Gerhard Jungwirth
12ba7b8e7e
add tests, minor bugfix
...
- testing: /reseller/ajax is tested
- minor fix: mixed up totalRecords and totalDisplayRecords
- minor fix: remove obsolete todo
12 years ago
Gerhard Jungwirth
7182796216
add tests, minor bugfix
...
- testing: /reseller/ajax is tested
- minor fix: mixed up totalRecords and totalDisplayRecords
- minor fix: remove obsolete todo
12 years ago
Gerhard Jungwirth
a9808ee53f
add new view "JSON"
12 years ago
Lars Dieckow
50c899b7bb
unbreak tests
12 years ago
Andreas Granig
b87c9ea71c
Add skeleton for reseller management.
12 years ago
Andreas Granig
11fecbd7ae
Implement basic authentication logic.
12 years ago
Andreas Granig
ee4de08f89
Implement naive plugin framework.
...
Will be refactored to use MooseX::Object::Pluggable.
12 years ago
Andreas Granig
f33ed45938
Restructure root/ and add wrapper and /test page.
12 years ago
Andreas Granig
4316ff59c4
Initial commit of catalyst skeleton.
12 years ago