Roy Wetherall
f5dffd5c24
RM-2144, RM-2143, RM-2360: UI automation of classified document search
...
* page objects for advanced search and search results
* inclusion of AlfrescoTest annotation from common benchmark project
* automation of classified content search
* used dataPrep style tear up and down to avoid data setup dependencies
+review RM @tpage @taskoy
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108553 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-20 08:10:44 +00:00
Tuna Aksoy
700ac87fb0
RM-2466 (Show the correct number of existing pages and make them available for navigation in the Security Clearance page)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108542 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-19 19:57:43 +00:00
Tom Page
703fcbef77
RM-2466 Pass through total results count as if nothing is filtered.
...
Change PagingResultsPostMethodInvocationProcessor to always return the
total results count as if nothing is filtered. This should fix the case
where nothing is filtered, and is a concession to the fact that we cannot
know how many total results there will be from a single page. We will fix
this later by filtering the results before we get to this processor, but
the processor is a good backup filter.
Change the rm-automation tests not to use the pagination details at the
bottom of the browse list pages, as these will often now be incorrect.
In making this change I also looked at using the getTotalResultCount()
interface with a range as the interface supports returning a minimum and
maximum on the total number of results. This would be very useful here,
as it should allow us to say that we don't know how many results there
will be. However most of the webscripts don't support a range, and so
this leads to some odd results in Share (e.g. 'Showing results 1 to 50
of -1').
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108482 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-17 09:01:00 +00:00
Tuna Aksoy
1121127ed2
RM-2466 (Show the correct number of existing pages and make them available for navigation in the Security Clearance page)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108366 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-15 16:25:24 +00:00
Neil McErlean
d5f4ecaa35
Added missing testcase, part of RM-2343. Test ensures that whitespace-only values for 'classified by' result in a 4xx HTTP response.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108248 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-14 11:43:10 +00:00
Neil McErlean
71565ff47a
Part of RM-2343. Ensure that blank or whitespace-only values for the 'Classified By' field are not accepted.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108246 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-14 11:13:06 +00:00
Michael Suzuki
345cb84a77
Updated to use dataprep 1.4, now able to declare user first and last name
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108183 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-13 14:41:49 +00:00
Roy Wetherall
d7b132705b
RM UI Automation:
...
* tighter integration with data prep project
* RecordsManagement service .. will be moved to data prep project asap
* remove unwanted artifacts relating to replaced code
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108159 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-13 09:22:48 +00:00
Tuna Aksoy
2b12d7809b
rm-automation has been removed from the list of modules in the parent pom
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108152 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-11 21:59:34 +00:00
Tuna Aksoy
f83f2fa108
rm-automation has been added to the list of modules in the parent pom
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108151 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-11 21:05:24 +00:00
Tuna Aksoy
0e34fa64d4
Fixed failing automated UI tests
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108149 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-11 15:56:28 +00:00
Tuna Aksoy
eff31898f5
Removed warnings
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108134 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-10 17:10:06 +00:00
Tuna Aksoy
6a8eeda795
RM-2388 (User without any clearance should not see the classify action)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108131 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-10 15:50:55 +00:00
Michael Suzuki
d011b7ec0a
Wire in dataprep project, a service that helps prepares test data using API
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108124 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-10 14:35:36 +00:00
Roy Wetherall
b3a707b8ab
RM UI Automation Improvements:
...
* multiple reliability fixes
* added REST API client
* users now created via REST API not via UI
+review RM @tpage
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107904 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-09 01:20:20 +00:00
Michael Suzuki
3082480aba
fix runtime issue with selenium-grid and updated context to reference it correctly
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107814 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-07 16:11:00 +00:00
Michael Suzuki
fb0f63d8a3
Remove webdrone dependency and replace with selenium-grid, which is Alfresco's webdriver factory
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107805 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-07 14:15:23 +00:00
Tuna Aksoy
d35a700360
RM-2129 (Check classification before method execution)
...
* Preventing access to information without appropriate security clearance
+review RM-117
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107738 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-06 15:24:26 +00:00
Tuna Aksoy
4e54de394d
Temporary fix for the failing integration test
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107700 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-06 09:59:49 +00:00
Tuna Aksoy
c2405ac03a
RM-2129 (Check classification before method execution)
...
* Commenting the list of pre enforcement check methods temporarily out. getProperties causes problems in the UI although all the integration tests succeed.
+review RM-117
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107681 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-03 15:28:05 +00:00
Tuna Aksoy
a6ab82152d
RM-2129 (Check classification before method execution)
...
+review RM-117
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107676 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-03 14:41:53 +00:00
Tuna Aksoy
536b842d40
Removed warnings
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107669 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-03 10:52:45 +00:00
Tuna Aksoy
e6fe911fcf
RM-2129 (Check classification before method execution)
...
+review RM @rwetherall
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107649 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-02 18:05:18 +00:00
Gloria Broadbent
f3f7fbf7e4
BRAZILIAN Portuguese: Updated RM 3.0 bundle based on EN-RM-rev107474 and fix for RM-2219 and localisation for RM-2333
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107585 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-02 10:45:46 +00:00
Tuna Aksoy
ea4d00f100
RM-2130 (Check classification after method execution, filtering results where appropriate)
...
- Code refactored
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107441 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-30 19:15:27 +00:00
Neil McErlean
fa3f1230a4
RM-2333, RM-2341, RM-2342, RM-2343, RM-2344, RM-2346.
...
Changed Classification Agency to optional throughtout the stack and added a new mandatory property Classified By throughout the stack.
Addressing the fallout in the existing tests due to these changes.
Also enhanced some existing tests to validate the classified by value persistence.
Still to do: need to initialise the Classified By field in the Classify dialog to the current user's full name (not as easy as I'd thought) and add additional AC tests.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107433 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-30 15:32:47 +00:00
Gloria Broadbent
1303566099
SIMP CHINESE: Updated RM 3.0 bundle based on EN-RM-rev107117
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107419 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-30 13:02:56 +00:00
Gloria Broadbent
7bf4c39fb0
BRAZILIAN Portuguese: Updated RM 3.0 bundle based on EN-RM-rev107117
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107418 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-30 13:00:58 +00:00
Gloria Broadbent
f8af543786
RUSSIAN: Updated RM 3.0 bundle based on EN-RM-rev107117
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107417 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-30 12:59:15 +00:00
Gloria Broadbent
b90e21761d
DUTCH: Updated RM 3.0 bundle based on EN-RM-rev107117
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107416 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-30 12:58:09 +00:00
Gloria Broadbent
9784375b82
NORWEGIAN (Bokmal): Updated RM 3.0 bundle based on EN-RM-rev107117
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107415 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-30 12:56:41 +00:00
Gloria Broadbent
00041942ed
JAPANESE: Updated RM 3.0 bundle based on EN-RM-rev107117
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107414 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-30 12:49:59 +00:00
Gloria Broadbent
d97f2349c0
ITALIAN: Updated RM 3.0 bundle based on EN-RM-rev107117
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107412 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-30 12:48:43 +00:00
Gloria Broadbent
6b3658826e
FRENCH: Updated RM 3.0 bundle based on EN-RM-rev107117
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107408 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-30 12:35:07 +00:00
Gloria Broadbent
a795c637bb
SPANISH: Updated RM 3.0 bundle based on EN-RM-rev107117
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107398 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-30 10:58:45 +00:00
Gloria Broadbent
3ccb0ec515
GERMAN: Updated RM 3.0 bundle based on EN-RM-rev107117
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107397 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-30 10:57:16 +00:00
Tuna Aksoy
88c109ac6a
Added .ant-targets-build.xml to svn ignore
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107369 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-29 21:29:19 +00:00
Tuna Aksoy
366af3d7c4
Workflows could not be started after classification enforcement
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107368 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-29 21:27:25 +00:00
Tuna Aksoy
7b5835297d
Merged DEV/ENFORCE to HEAD:
...
105194: First pass at classification interceptor
105294: Fixed compilation issue
105323: Updated Aikau version to 1.0.20
105565: RM-2129 (Check classification before method execution)
105923: RM-2130 (Check classification after method execution, filtering results where appropriate)
106103: RM-2130 (Check classification after method execution, filtering results where appropriate)
106104: RM-2130 (Check classification after method execution, filtering results where appropriate)
106169: RM-2130 (Check classification after method execution, filtering results where appropriate)
106187: RM-2130 (Check classification after method execution, filtering results where appropriate)
106283: RM-2130 (Check classification after method execution, filtering results where appropriate)
106356: RM-2130 (Check classification after method execution, filtering results where appropriate)
106552: RM-2130 (Check classification after method execution, filtering results where appropriate)
106639: RM-2130 (Check classification after method execution, filtering results where appropriate)
106657: RM-2130 (Check classification after method execution, filtering results where appropriate)
106658: RM-2130 (Check classification after method execution, filtering results where appropriate)
106772: RM-2130 (Check classification after method execution, filtering results where appropriate)
106774: RM-2130 (Check classification after method execution, filtering results where appropriate)
107009: RM-2130 (Check classification after method execution, filtering results where appropriate)
107163: RM-2130 (Check classification after method execution, filtering results where appropriate)
107164: RM-2130 (Check classification after method execution, filtering results where appropriate)
107246: RM-2130 Post method invocation processor for QueryEngineResults.
107252: RM-2130 (Post method invocation processor for QueryEngineResults)
107253: RM-2130 Make CollectionPostMethodInvocationProcessor concrete.
107257: RM-2130 (Check classification after method execution, filtering results where appropriate)
107270: RM-2130 (Check classification after method execution, filtering results where appropriate)
107272: RM-2130 (Check classification after method execution, filtering results where appropriate)
107273: RM-2130 (Check classification after method execution, filtering results where appropriate)
107274: RM-2130 (Check classification after method execution, filtering results where appropriate)
107275: RM-2130 (Check classification after method execution, filtering results where appropriate)
107282: RM-2130 Add support for other collections than Lists.
107344: RM-2367 (Automate AC: Access to saved search)
107355: RM-2130 Support for specific instantiable collections.
107363: RM-2130 (Check classification after method execution, filtering results where appropriate)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107367 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-29 21:24:16 +00:00
Tuna Aksoy
7a3bdd3699
RM-2130 (Check classification after method execution, filtering results where appropriate)
...
+review RM-94
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107363 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-29 17:03:48 +00:00
Tom Page
e9a5f28f85
RM-2130 Support for specific instantiable collections.
...
It's impossible to instantiate/clone a generic collection, so if a member of the collection
changes then our only option is to attempt to remove it. This has two problems. Firstly,
this is far more brutal than we desire in many cases. Secondly, some collections do not
implement the remove method (e.g. anything returned by Arrays.asList()).
As an attempt to work around this issue we've created some specific implementation
processors. This introduces new potential problems - e.g. if someone has used an exotic
type of list it will be replaced with an ArrayList by the ListPostMethodInvocationProcessor.
+review RM
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107355 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-29 15:18:49 +00:00
Tuna Aksoy
a476d21d08
RM-2367 (Automate AC: Access to saved search)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107344 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-29 14:34:17 +00:00
Tom Page
4b39c868ce
RM-2130 Add support for other collections than Lists.
...
Unfortunately most methods in the CollectionUtils helper class convert
collections to lists, and so is not suitable for our usage.
+review RM @taksoy
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107282 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-29 08:48:10 +00:00
Tuna Aksoy
afa0ac0229
RM-2130 (Check classification after method execution, filtering results where appropriate)
...
+review RM-94
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107275 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-28 19:50:07 +00:00
Tuna Aksoy
158eaecf16
RM-2130 (Check classification after method execution, filtering results where appropriate)
...
- Fixed failing integration tests
+review RM-94
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107274 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-28 17:29:54 +00:00
Tuna Aksoy
c64b092294
RM-2130 (Check classification after method execution, filtering results where appropriate)
...
- Fixed failing integration test
+review RM-94
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107273 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-28 15:45:01 +00:00
Tuna Aksoy
d320b4dad6
RM-2130 (Check classification after method execution, filtering results where appropriate)
...
+review RM-94
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107272 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-28 13:39:10 +00:00
Tuna Aksoy
8fa46a4e14
RM-2130 (Check classification after method execution, filtering results where appropriate)
...
+review RM-94
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107270 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-27 22:23:19 +00:00
Tuna Aksoy
74267d0119
RM-2130 (Check classification after method execution, filtering results where appropriate)
...
+review RM-94
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107257 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-26 16:00:26 +00:00
Tom Page
b1e8da1198
RM-2130 Make CollectionPostMethodInvocationProcessor concrete.
...
+review RM-113
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107253 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-26 15:36:13 +00:00