Tom Page
a221229e13
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
94d259ed6d
RM-5837 Use constants for status codes.
...
Also code review fixes for new test.
2017-11-08 14:07:52 +00:00
Tom Page
a35860011b
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
6d15904ac7
RM-5837 Only assert the return code if we're not expecting a failure.
2017-11-08 11:57:27 +00:00
Tom Page
032d099127
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
fb1a5f18c3
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
3438e4c520
RM-5837 Add support for v0 copy-to API.
2017-11-06 16:33:11 +00:00
Tom Page
a3fa33f1d5
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
9b78979de7
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
53d437083f
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
fb3fdbddf1
fix formatting errors
2017-10-30 15:54:46 +02:00
Rodica Sutu
367ccf3851
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
d9db93d86a
Merge branch 'master' into feature/RM-5723_EditClassificationPossibleForPostRequest
2017-10-27 10:20:00 +01:00
Tom Page
56ccbe012e
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
a70d755b80
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
5ee17506a6
review changes
2017-10-27 09:46:08 +03:00
Rodica Sutu
ec20a6f8d4
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
f509e1e289
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
1973ddd067
Add tests to cover RM-5617
2017-10-25 15:40:44 +03:00
Rodica Sutu
07d3d06db5
test fixes
2017-10-13 16:42:31 +03:00
Rodica Sutu
a2ea50868a
fix failing tests from Enterprise REST API
2017-10-13 14:08:21 +03:00
Rodica Sutu
41deff0d6a
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
055ec439aa
RM-5645 - removed unused method and made review changes on ui tests
2017-10-09 19:50:25 +03:00
Rodica Sutu
69ee38229f
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
8ff0a24952
RM-5645 - review changes
2017-10-09 16:53:10 +03:00
Rodica Sutu
3978d6dd7d
api tests for RM-5458
2017-10-06 12:15:22 +03:00
jcule
9c76930fea
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
4de24afe1a
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
01147d40be
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
8f26a764f2
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
04e2d3d828
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
6faef88fc9
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
d2663348a8
minor test refactoring
2017-10-03 15:16:07 +03:00
Rodica Sutu
39e8875de0
adding tests for Prevent Classified Items Being Moved/Copied/Linked into Folders with Lower Classification
2017-10-03 12:10:31 +03:00
jcule
a72bfcfd84
RM-5645: Automate AC for Prevent Classification Beyond Parents Classification
2017-10-03 09:36:29 +01:00
Ross Gale
616c9cf8ae
RM-5595 Replace v0 calls to records apis
2017-10-02 13:22:27 +01:00
Rodica Sutu
9ff6b4f07c
improve the tests for record folder classification to be independent
2017-09-29 12:31:14 +03:00
Rodica Sutu
6fc5685030
refactoring tests to be more independent
2017-09-29 09:10:42 +03:00
Rodica Sutu
098b27f37f
Merge branch 'master' of git.alfresco.com:records-management/records-management into feature/RM-5416_REST_API_Tests_for_Folder_Classification_2
2017-09-28 16:50:11 +03:00
Rodica Sutu
5fe02bb7bf
Merge branch 'master' of git.alfresco.com:records-management/records-management into feature/RM-5416_REST_API_Tests_for_Folder_Classification_2
2017-09-28 15:22:47 +03:00
Tom Page
1a3173512b
Merge origin/master into feature/RM_5358_UI_RelationshipToClassifiedRecord.
2017-09-28 09:23:45 +01:00
Rodica Sutu
d0130c6be0
fix the failure introduced with the last commit
2017-09-28 09:23:24 +01:00
Rodica Sutu
856cc9bccb
review comments changes
2017-09-28 09:23:10 +01:00
Rodica Sutu
a2f6db6771
fix the request body sent when creating relationships
2017-09-28 09:23:01 +01:00
Rodica Sutu
88ac926335
fix the java docs
2017-09-28 09:22:02 +01:00
Rodica Sutu
4b57a35301
create relationships with v0 API requests
2017-09-28 09:21:08 +01:00
jcule
b8398ecdac
RM-5416: REST API Tests for Folder Classification - various improvements
2017-09-27 17:43:57 +01:00
Oana Nechiforescu
6af7609e7e
Commit 2, test changes to use the new API method.
2017-09-26 14:51:13 +03:00
Oana Nechiforescu
bee032cb05
First commit just the test and new API empty trashcan method.
2017-09-26 14:50:28 +03:00
jcule
7b3628a1e3
RM-5416: REST API Tests for Folder Classification
2017-09-25 18:31:43 +01:00