Rodica Sutu
11ca553d50
change the UserRoles.java to a enum
...
add the within RoleService a utility method to add/remove list of capabilities from a ROLE
2018-03-27 21:14:21 +03:00
cagache
562ae0fe7a
moved createRMSite from a test class to base class
2018-03-21 15:00:50 +02:00
Tom Page
caf9897df5
Merge branch 'feature/RM-6129_ManageClassifCapTests_no' into 'master'
...
RM-6129 Create new API test methods to interact with RM roles
See merge request records-management/records-management!882
2018-03-06 12:58:42 +00:00
cagache
58920b9e02
swapped expected status code with actual status code (fix for expected:<500> but was:<200>)
2018-03-06 09:10:12 +02:00
Tom Page
f482a4753e
RM-6129 Use roles from UserRoles.
2018-03-02 15:58:49 +00:00
Tom Page
f04056e043
RM-6129 Add API tests for creating and editing RM roles.
2018-03-02 13:32:04 +00:00
Tom Page
296b3a6c4b
RM-6125 More useful builder for creating RM site.
...
Add a private constructor so that Lombok will generate a builder
including the site title and description (which come from a
superclass).
2018-03-02 09:24:28 +00:00
cagache
8d0754aeb8
RM-5296 Warn When Declassification Date exceeds Time Frame
2018-03-01 10:45:19 +02:00
Tom Page
e721781a47
RM-6129 Add test for capabilities of the RM user.
2018-02-28 16:26:27 +00:00
Tom Page
91033cdec1
RM-6129 Add test for pre-configured RM roles.
2018-02-28 16:00:34 +00:00
Rodica Sutu
5a0313e779
Merge branch 'release/V2.5' into merge-2.6/FixesFrom2.5
...
# Conflicts:
# rm-automation/pom.xml
# rm-automation/rm-automation-ui/src/test/java/org/alfresco/test/community/level2/disposition_schedule/DispositionScheduleLinkedRecords.java
# rm-automation/rm-automation-ui/src/test/java/org/alfresco/test/enterprise/level2/classification/DeleteFolderInUnfiledRecordsAndFilePlan.java
# rm-automation/rm-automation-ui/src/test/java/org/alfresco/test/enterprise/level2/classification/SecurityMarksOnContent.java
# rm-automation/rm-automation-ui/src/test/java/org/alfresco/test/enterprise/security/classification/content/ClassifyRecord.java
# rm-automation/rm-automation-ui/src/test/resources/smokeTests.xml
# rm-automation/src/test/resources/classificationTests.xml
# rm-automation/src/test/resources/level2Tests.xml
2018-02-26 14:09:40 +02:00
Rodica Sutu
a4c054e4cb
update the suite of tests with configfailurepolicy="continue"
2018-02-08 15:51:24 +02:00
Tom Page
98765ca22c
Updating license header to 2018
2018-01-16 12:31:06 +00:00
Jelena Cule
1ee4e1d5aa
Merge RM-5917 ClassificationSourceReference API TESTS to master
2018-01-05 10:41:35 +00:00
Ana Manolache
4a145de54e
update headers to 2018
2018-01-03 12:01:00 +02:00
cagache
e64422dab7
Merge branch 'release/V2.6'
2017-12-12 13:23:29 +02:00
cagache
323d11872a
updated header
2017-12-12 09:46:06 +02:00
cagache
4e0030b702
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
8a2d931267
Revert "Revert "Merge branch 'merge-2.6/RM-5132_AutomationChanges' into 'release/V2.6'""
...
This reverts commit dc2c1d9aee
.
2017-12-05 14:37:07 +00:00
Tom Page
dc2c1d9aee
Revert "Merge branch 'merge-2.6/RM-5132_AutomationChanges' into 'release/V2.6'"
...
This reverts commit f8b9e86bcb
, reversing
changes made to d8da2251e6
.
2017-12-05 14:36:38 +00:00
Tom Page
2e0a194042
Merge release/V2.6 into master.
2017-12-05 10:20:50 +00:00
Tom Page
84e8444812
RM-5132 Add RecordsAPI.getRecordNodeRef method.
2017-11-30 11:27:17 +00:00
Tom Page
66bb30f1ec
Use apache commons Pair, rather than javafx.
...
This makes automated import ordering simpler if nothing else.
2017-11-27 11:22:43 +00:00
Tom Page
6c2dfd3e35
Fix a test that previously failed to create a security mark.
...
Also refactor an @BeforeClass into an @Test so that if it fails it doesn't
kill all subsequent tests (in all subsequent classes).
2017-11-10 16:35:00 +00:00
Tom Page
642d733a65
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
ecccba2f65
Refactor emptying trashcan test API.
2017-11-09 16:26:32 +00:00
Tom Page
d73dcc45aa
Refactor test API calls to delete rules.
2017-11-09 16:22:46 +00:00
Tom Page
223cf51ca2
Refactor test API calls to delete all items in container.
2017-11-09 16:17:15 +00:00
Tom Page
d0636e79c9
Refactor 'move to' REST API test method.
2017-11-09 16:02:52 +00:00
Tom Page
5322621100
Refactor assign user to RM role API test call.
2017-11-09 15:48:13 +00:00
Tom Page
853afc77d6
Refactor create relationship test API.
2017-11-09 15:37:16 +00:00
Tom Page
d96ea183f7
Refactor the delete items methods in REST API tests.
2017-11-09 15:32:42 +00:00
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