Commit Graph
1521 Commits
Author SHA1 Message Date
Andrei Forascu 7afbe20d0c REPO-2755: REST API & CMIS TAS sanity builds:
- refactored RestAPI "Comments" API tests to be included in a single class per endpoint (not separate Sanity/Core/Full tests) (3)
2017-10-04 15:03:11 +03:00
Andrei Forascu 6c82a7a22b REPO-2755: REST API & CMIS TAS sanity builds:
- refactored RestAPI "Comments" API tests to be included in a single class per endpoint (not separate Sanity/Core/Full tests) (2)
2017-10-04 14:52:00 +03:00
Andrei Forascu 75959e710c REPO-2755: REST API & CMIS TAS sanity builds:
- refactored RestAPI "Comments" API tests to be included in a single class per endpoint (not separate Sanity/Core/Full tests)
2017-10-04 14:34:06 +03:00
cagache e760944c3b REPO-2755 / REPO-2251: regrouped add favorites tests 2017-10-03 11:50:36 +03:00
Rodica Sutu e99a82a2ef - add requests for Trashcan - deleteNodes,Node - deleteNode,copyNode 2017-09-29 16:47:50 +03:00
Andrei Forascu 8ebda8925f - fix maxItemsParameterApplied test by changing sort order 2017-09-13 17:26:23 +03:00
Andreea Nechifor 52530cd14f Merge branch 'master' into 'Repo-2304'
# Conflicts:
#   src/main/java/org/alfresco/rest/requests/Node.java
2017-09-05 13:06:00 +01:00
Andreea Nechifor 48b9961db0 Added more check 2017-09-05 14:16:59 +03:00
Andrei Forascu 75c4a6631c REPO-2302 / REPO-2304
- code formatting
2017-09-05 13:40:13 +03:00
Alexandru-Eusebiu Epure 7412e84e15 REPO-2305 : RestAPI: Implement tests in TAS project for 'Nodes' RestApi endpoint - part 5
REPO-2306 : RestAPI: Implement tests in TAS project for 'Nodes' RestApi endpoint - part 6
      Rename NodesContentTest to NodesContentAndVersioningTests
         Add two sanity tests (testGetVersionContent and testRevertDeleteVersion)
2017-09-05 12:22:22 +03:00
Andrei Forascu 018153f6bd REPO-2302 - RestAPI: Implement tests in TAS project for 'Nodes' RestApi endpoint - part 3:
- changed sanity test to run faster
2017-09-05 12:02:10 +03:00
Andreea Nechifor c3a7f5bd10 REpo-2302 2017-09-05 11:35:52 +03:00
Andreea Nechifor 3a43b1b02b Repo-2304 2017-09-05 10:39:28 +03:00
Andreea Nechifor 94d82407dc Repo 2302 2017-09-04 17:07:57 +03:00
Andrei Forascu 1e8ddebd06 REPO-2302 - RestAPI: Implement tests in TAS project for 'Nodes' RestApi endpoint - part 3:
- added sanity test for GET /nodes/{nodeId}/sources: checkGetNodeSources
2017-09-04 16:57:42 +03:00
Andrei Forascu d94288fd63 REPO - 2304 - RestAPI: Implement tests in TAS project for 'Nodes' RestApi endpoint - part 4:
- rename some models and tests to match OpenAPI spec - delete classes
2017-09-04 12:51:44 +03:00
Andrei Forascu 10186bc279 REPO - 2304 - RestAPI: Implement tests in TAS project for 'Nodes' RestApi endpoint - part 4:
- rename some models and tests to match OpenAPI spec
2017-09-04 12:50:08 +03:00
Andreea Nechifor 14c6c0342d REPO-2304. Added targets tests. 2017-09-04 10:27:55 +03:00
Andrei Forascu f09ea01f83 Merge branch 'feature/REPO-2299Implement_TAS_tests_for_'Nodes'_RestApi_Part_1' into 'master'
Feature/repo 2299 implement tas tests for 'nodes' rest api part 1

See merge request !25
2017-09-01 10:34:32 +01:00
Andrei Forascu b9e9be49d7 REPO-2301 : RestAPI: Implement TAS tests for 'Nodes' RestApi endpoint - part 2
REPO-2299 : RestAPI: Implement TAS tests for 'Nodes' RestApi endpoint - part 1
      - code formatting
2017-09-01 12:34:44 +03:00
Alexandru-Eusebiu Epure e9912b74a0 REPO-2299 : Implement TAS tests for 'Nodes' RestApi endpoint - part 1
Add an additional step to testCopyNode(), unlocking the used node because other tests were failing.
2017-09-01 11:33:34 +03:00
Andrei Forascu eda37669f0 REPO-2301 - RestAPI: Implement TAS tests for 'Nodes' RestApi endpoint - part 2:
- implemented sanity tests for the following V1 REST API endpoints:
        POST       /nodes/{nodeId}/secondary-children
        GET        /nodes/{nodeId}/secondary-children
        DELETE     /nodes/{nodeId}/secondary-children/{childId}
        GET        /nodes/{nodeId}/parents
2017-09-01 11:19:37 +03:00
Alexandru-Eusebiu Epure 0ed27d3526 REPO-2299 : Implement TAS tests for 'Nodes' RestApi endpoint - part 1
Create a sanity test for updateNodeContent and copyNode
      Extend TAS framework with PUT /nodes/{nodeId}/content and POST /nodes/{nodeId}/copy
2017-09-01 10:47:05 +03:00
Andreea Nechifor 46063ae3ee add avatar tests 2017-08-31 12:49:26 +03:00
Andreea Nechifor 7215d33680 added more check on getAvatar 2017-08-31 12:10:04 +03:00
Paul Brodner 38e4cc57f7 Merge branch 'fix/REPO-2365_addTest' into 'master'
Fix/repo 2365 add test

See merge request !21
2017-08-11 12:55:17 +01:00
Alexandru-Eusebiu Epure ea2972bb19 REPO-2365 : GET /shared-links?include=allowableOperations returns 403
Added GetSharedLinksFullTests.java and SharedLinksSanityTests.java in the same folder and package.
2017-08-11 14:47:23 +03:00
Alexandru-Eusebiu Epure 4a83f15bdb REPO-2365 : GET /shared-links?include=allowableOperations returns 403
Remove GetSharedLinksFullTests.java and SharedLinksSanityTests.java, because they are in different packages (will add them in the next commit).
2017-08-11 14:44:26 +03:00
Andreea Nechifor 48e181d6cf Merge branch 'master' into feature/REPO-1821_AVATAR_REST_API
# Conflicts:
#	src/main/java/org/alfresco/rest/requests/People.java
2017-08-11 10:41:03 +03:00
Alexandru-Eusebiu Epure 77209423e6 REPO-1821 : Avatar REST API
Rename GetAvatarPeopleSanityTest.java to AvatarPeopleSanityTests.java because this class contains GET/PUT/POST /people/{personId}/avatar requests.
      Format the code avatar API specific code (Tests+requests).
2017-08-10 17:30:08 +03:00
Andreea Nechifor fed6244576 problem init dataPreparation 2017-08-10 16:12:26 +03:00
Andreea Nechifor cdef522d4f REPO-1858 2017-08-10 10:02:43 +03:00
Raluca Munteanu 7479648c1f REPO-2369: Removed negative tests from SANITY group. 2017-08-10 07:53:41 +01:00
Alexandru-Eusebiu Epure 5e19918e9c REPO-2365 :
Extended Node class with PUT /nodes/{nodeId} (update a node)
      Refactor getSharedLinksWithAllowableOperations TAS test using PUT /nodes/{nodeId} for creating permission and added a timer (max 15s) for the solr to index the sharedLink.
2017-08-09 18:55:40 +03:00
Andrei Forascu b5b852ce0c REPO-2365 - GET /shared-links?include=allowableOperations returns 403 for a user that has granular permissions on a shared file:
- added a TAS test for the issue
2017-08-08 17:51:27 +03:00
mbhave 0709643308 Added getter and setter for expiresAt and test code to test sharedLink methods 2017-08-07 17:18:06 +03:00
mbhave e42cb60fe5 cherry picked APPSREPO-165 from 5.2.1 2017-08-07 17:17:49 +03:00
mbhave 786ceda277 cherry pick includePath feature from 5.2.1 2017-08-07 17:12:33 +03:00
Andrei Forascu de775c64b2 REPO-437: Audit REST API
- fixed Audit tests by creating the private site in the AuditTest class
2017-08-03 18:00:26 +03:00
Andrei Forascu 8e0834ceac REPO-1787 - Retrieve Audit Entry:
- fixed a TAS test that was failing after we decided to display by default values for a single audit entry
2017-08-02 10:19:06 +03:00
Paul Brodner 181a98a2d6 added response assertion onResponse on RestWrapper 2017-08-01 15:05:47 +03:00
Andrei Forascu 66e3219917 Merge branch 'master' into feature/5.2.N-AUDIT-API 2017-07-28 16:20:21 +03:00
Paul Brodner f7835390cb clean up 2017-07-27 10:49:31 +03:00
Andrei Forascu 6e6d0cac3f REPO-2670 - REST API: Retrieve Node (alfresco-access) Audit Entries - add sanity TAS-level test:
- added TAS test to cover the scenario where a non-admin user with access to a node can access the audit entries for that node using nodes/{nodeId}/audit-entries
2017-07-26 12:16:48 +03:00
Alexandru-Eusebiu Epure 46e1f4134c Fix getAuditEntriesWithAdminUserUsingValidSkipCountAndMaxItems test that was failing if the interval used for pagination was no formed of consecutive ids values. 2017-07-25 11:33:32 +03:00
Alexandru-Eusebiu Epure 59ddbd8d8e Merge branch 'feature/5.2.N-AUDIT-API' of https://git.alfresco.com/tas/alfresco-tas-restapi-test into feature/5.2.N-AUDIT-API 2017-07-24 11:56:14 +03:00
Alexandru-Eusebiu Epure ed05b6b4eb REPO-437: Audit REST API
Fix code formatting (tabs -> spaces, added/removed newlines were needed).
      Added description for updateAuditApp call.
2017-07-24 11:46:02 +03:00
Andrei Forascu 038d9695a7 REPO-2644 - REST API: Delete Application Audit Entries - add TAS-level sanity test:
- minor code formatting
2017-07-24 11:23:22 +03:00
Alexandru-Eusebiu Epure 4bab6d8282 REPO-2644
Fix the merge request conflicts
      Now getAuditEntriesWithAdminUserUsingValidSkipCountAndMaxItems also tests pagination
2017-07-21 14:29:23 +03:00
Alexandru Epure c9c1b12b23 Merge branch 'feature/5.2.N-AUDIT-API' into 'REPO-2644'
# Conflicts:
#   src/main/java/org/alfresco/rest/requests/Audit.java
2017-07-20 14:02:20 +01:00