Commit Graph

314 Commits

Author SHA1 Message Date
cagache
c8da8c9081 automated AC for MNT-15575, regarding share live search for words from RM Saved Searches
(cherry picked from commit a33cb6e)
2017-12-12 09:32:07 +02:00
Tom Page
ca4cf0070f Revert "Revert "Merge branch 'merge-2.6/RM-5132_AutomationChanges' into 'release/V2.6'""
This reverts commit 2437ff415c.
2017-12-05 14:37:07 +00:00
Tom Page
2437ff415c Revert "Merge branch 'merge-2.6/RM-5132_AutomationChanges' into 'release/V2.6'"
This reverts commit 83f81da0bd, reversing
changes made to 915e99394c.
2017-12-05 14:36:38 +00:00
Tom Page
4f490b4699 RM-5132 Add RecordsAPI.getRecordNodeRef method. 2017-11-30 11:27:17 +00:00
alfresco-build
06e29addce [maven-release-plugin] prepare for next development iteration 2017-11-17 08:05:37 +00:00
alfresco-build
01a818587a [maven-release-plugin] prepare release V2.6.c 2017-11-17 08:05:35 +00:00
alfresco-build
6a2506847f [maven-release-plugin] prepare for next development iteration 2017-11-16 15:39:00 +00:00
alfresco-build
68f870ed91 [maven-release-plugin] prepare release V2.6.0 2017-11-16 15:38:57 +00:00
Tom Page
ed4f591fd8 Rename method to read slightly better: "assign role to user".
Also add missing exception to some Javadoc.
2017-11-10 09:03:04 +00:00
Tom Page
fac5036b29 Refactor emptying trashcan test API. 2017-11-09 16:26:32 +00:00
Tom Page
5367c34126 Refactor test API calls to delete rules. 2017-11-09 16:22:46 +00:00
Tom Page
0174177c09 Refactor test API calls to delete all items in container. 2017-11-09 16:17:15 +00:00
Tom Page
a34b85a76e Refactor 'move to' REST API test method. 2017-11-09 16:02:52 +00:00
Tom Page
0f58980a0c Refactor assign user to RM role API test call. 2017-11-09 15:48:13 +00:00
Tom Page
e2c0fee0f6 Refactor create relationship test API. 2017-11-09 15:37:16 +00:00
Tom Page
c4fac4b0bd Refactor the delete items methods in REST API tests. 2017-11-09 15:32:42 +00:00
Tom Page
80ed8c4e63 Refactor API method to upload electronic record.
Throw assertion error if the upload is unsuccessful (rather than returning a boolean).
2017-11-09 12:00:37 +00:00
Tom Page
bb915f1231 RM-5837 Use constants for status codes.
Also code review fixes for new test.
2017-11-08 14:07:52 +00:00
Tom Page
592275b1aa RM-5837 Always assert status code when making a v0 POST request.
Refactor the DestroyRecordFolderActions UI test as this previously relied
on the create retention schedule API call failing silently for the second
test.
2017-11-08 12:44:22 +00:00
Tom Page
350ea660ae RM-5837 Only assert the return code if we're not expecting a failure. 2017-11-08 11:57:27 +00:00
Tom Page
8e35851a74 RM-5837 Finish off test and add util to extract JSON.
Use two folders, as copying a file and a folder always passes
even with the old code.
2017-11-07 10:59:50 +00:00
Tom Page
434676de32 RM-5837 Refactor POST API calls to return HTTP response.
By default throw an exception if the calls are not successful. This
allows us to remove a huge number of assertion statements from REST
API tests.

Returning the response allows us to make more detailed assertions if
we need to - for example checking exactly what the status code was.
2017-11-07 10:16:48 +00:00
Tom Page
ac9d586167 RM-5837 Add support for v0 copy-to API. 2017-11-06 16:33:11 +00:00
Tom Page
01c52bc89b RM-5755 Add UI test for using instruction without marks.
Also tidy up data after tests have run.
2017-11-02 11:18:17 +00:00
Rodica Sutu
491ec863c6 Merge branch 'master' of git.alfresco.com:records-management/records-management into feature/RM-5787_ClassifyInPlaceRecord_API_Tests_no 2017-10-31 14:34:24 +02:00
Tom Page
575df8091d Merge branch 'feature/RM-5755_RESTTestsPartialClearance_cg' into 'master'
Feature/rm 5755 rest tests partial clearance cg

See merge request !658
2017-10-31 11:49:10 +00:00
Rodica Sutu
66bd019080 fix formatting errors 2017-10-30 15:54:46 +02:00
Rodica Sutu
c6fcb975c6 Merge branch 'master' of git.alfresco.com:records-management/records-management into feature/RM-5787_ClassifyInPlaceRecord_API_Tests_no 2017-10-30 15:35:26 +02:00
Sara Aspery
c1acc0fb9a Merge branch 'master' into feature/RM-5723_EditClassificationPossibleForPostRequest 2017-10-27 10:20:00 +01:00
Tom Page
89a15747ad RM-5755 Create a common test utility class to be shared by REST and UI tests. 2017-10-27 09:20:29 +01:00
Rodica Sutu
4d592ac9eb Merge branch 'feature/RM-5617_ClassifyCompleteRecords_API_Tests_no' into feature/RM-5787_ClassifyInPlaceRecord_API_Tests_no 2017-10-27 10:41:20 +03:00
Rodica Sutu
4ce93afc42 review changes 2017-10-27 09:46:08 +03:00
Rodica Sutu
c6e7671ba6 Merge remote-tracking branch 'remotes/origin/feature/RM-5617_ClassifyCompleteRecords_API_Tests_no' into feature/RM-5787_ClassifyInPlaceRecord_API_Tests_no 2017-10-26 16:06:31 +03:00
Rodica Sutu
77cdbdd142 move the rules api implementation from UI test module to the community api test module in order to be able to create tests in the api project 2017-10-26 12:18:31 +03:00
Rodica Sutu
8ea2d63fe0 Add tests to cover RM-5617 2017-10-25 15:40:44 +03:00
Rodica Sutu
cc5c0e126d test fixes 2017-10-13 16:42:31 +03:00
Rodica Sutu
2d06367dd9 fix failing tests from Enterprise REST API 2017-10-13 14:08:21 +03:00
Rodica Sutu
b561c8f785 Merge remote-tracking branch 'remotes/origin/feature/RM-5645_Automate_AC_Prevent_Classification_Beyond_Parents_Classification' into feature/RM-5458_Tests_Prevent_FolderClassification
# Conflicts:
#	rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/base/BaseRMRestTest.java
#	rm-automation/rm-automation-enterprise-rest-api/src/test/java/org/alfresco/rest/rm/enterprise/utils/ClassificationUtils.java
2017-10-09 20:33:39 +03:00
Ana Bozianu
087cb22097 RM-5645 - removed unused method and made review changes on ui tests 2017-10-09 19:50:25 +03:00
Rodica Sutu
744457b8bd Merge remote-tracking branch 'remotes/origin/feature/RM-5645_Automate_AC_Prevent_Classification_Beyond_Parents_Classification' into feature/RM-5458_Tests_Prevent_FolderClassification
# Conflicts:
#	rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/base/BaseRMRestTest.java
2017-10-09 16:59:45 +03:00
Ana Bozianu
9073334fe5 RM-5645 - review changes 2017-10-09 16:53:10 +03:00
Rodica Sutu
11d5981c00 api tests for RM-5458 2017-10-06 12:15:22 +03:00
jcule
55af74e7bf RM-5645: Automate AC Prevent Classification Beyond Parents Classification: added checks for response code and message 2017-10-06 09:22:13 +01:00
Rodica Sutu
7fe81f2abc Merge branch 'feature/RM-5457_AutomateAC' into feature/RM-5458_Tests_Prevent_FolderClassification
# Conflicts:
#	rm-enterprise/rm-enterprise-repo/src/main/amp/config/alfresco/module/alfresco-rm-enterprise-repo/messages/classified-content/classified-content.properties
2017-10-06 10:34:23 +03:00
jcule
99084cb158 RM-5645: Automate AC Prevent Classification Beyond Parents Classification: added checks for response code and message 2017-10-05 22:46:28 +01:00
Jelena Cule
fe267c4172 Merge branch 'feature/RM5756_FixRestErrorMsg' into 'feature/RM-5645_Automate_AC_Prevent_Classification_Beyond_Parents_Classification'
Feature/rm5756 fix rest error msg

See merge request !609
2017-10-05 16:05:05 +01:00
Rodica Sutu
c0592a9ca7 Merge branch 'master' of git.alfresco.com:records-management/records-management into feature/RM-5457_AutomateAC 2017-10-05 16:12:57 +03:00
jcule
3531b5e747 RM-5645: Automate AC Prevent Classification Beyond Parents Classification: api tests moved into separate classes 2017-10-04 18:47:05 +01:00
Rodica Sutu
61cc5fec91 minor test refactoring 2017-10-03 15:16:07 +03:00
Rodica Sutu
4df615671b adding tests for Prevent Classified Items Being Moved/Copied/Linked into Folders with Lower Classification 2017-10-03 12:10:31 +03:00