Commit Graph
1512 Commits
Author SHA1 Message Date
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
Andrei Forascu ec8f0d2ddd REPO-1786 / REPO-2670: REST API: Retrieve Node (alfresco-access) Audit Entries - add sanity TAS-level test
- removed steps from testgetAuditEntriesForNodeUsingMaxItemsAndWhereParam  to match the existing tests
2017-07-20 15:47:14 +03:00
Alexandru-Eusebiu Epure 59be5d5cec REPO-2644: REST API: Delete Application Audit Entries - add TAS-level sanity test
Refactor existing TAS test.
2017-07-20 15:29:24 +03:00
Alexandru-Eusebiu Epure edad414caf REPO-2644: REST API: Delete Application Audit Entries - add TAS-level sanity test
Refactor existing TAS test.
2017-07-20 15:28:06 +03:00
Alexandru-Eusebiu Epure 05fe676459 REPO-2644 : REST API: Delete Application Audit Entries - add TAS-level sanity test
Add TAS test for deleting audit application entries.
2017-07-20 14:48:47 +03:00
Andrei Forascu dc5dd8beac REPO-1786 / REPO-2670: REST API: Retrieve Node (alfresco-access) Audit Entries - add sanity TAS-level test
- TAS sanity test added: getAuditEntriesForNodeUsingMaxItemsAndWhereParam
    - Fixed some test descriptions / minor code formatting
2017-07-20 13:46:32 +03:00
Alexandru-Eusebiu Epure c32c239e2d Fixed failing bamboo build.
Moved the enable auditing part at the start of the dataPrep.
2017-07-19 17:30:58 +03:00
Andrei Forascu 0b388a59bd REPO-2662 / REPO-2644: Retrieve audit entry / Delete audit entry
- minor formatting
2017-07-19 11:43:19 +03:00
jcule f380912fb6 REPO-2644: REST API: Delete Application Audit Entries - add TAS-level sanity test
- added test for deleting of range of entries
2017-07-19 09:34:56 +01:00
Alexandru-Eusebiu Epure 419cb50b14 REPO-2665 REST API: Delete Audit Entry - add sanity TAS test
REPO-2662 REST API: Retrieve Audit Entry - add sanity TAS test
      Add sanity tests.
         Fix some coding style (tabs to spaces).
2017-07-18 15:14:16 +03:00
jcule b206af38e3 added checks for property setting, fixing merge fallouts and reusing code 2017-07-14 20:44:40 +01:00
Alexandru Epure 40ac17a085 Merge branch 'feature/5.2.N-AUDIT-API' into 'REPO-2620'
# Conflicts:
#   src/main/java/org/alfresco/rest/requests/Audit.java
#   src/test/java/org/alfresco/rest/audit/AuditTest.java
#   src/test/java/org/alfresco/rest/audit/GetAuditCoreTests.java
2017-07-14 14:43:36 +01:00
Alexandru-Eusebiu Epure 3197eba6b5 REPO-2620 REST API: Retrieve Application Audit Entries - add TAS-level test
Extend TAS with AuditValuesModel in order to validate Retrieval of the Audit App Entries
       Add Sanity level TAS Tests.
2017-07-13 17:46:48 +03:00