Commit Graph

128 Commits

Author SHA1 Message Date
Brett Porter 8bc8b434c5 update label that changed in Redback
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1234144 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 21:17:36 +00:00
Brett Porter 30b708470a update label that changed in Redback
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233894 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 13:20:57 +00:00
Brett Porter 615cfd730e remove all tab characters and fix some formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1215120 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 13:13:10 +00:00
Olivier Lamy cf3caad5cc [MRM-1327] implement alternative or improve repository metadata storage: add repository.xml for webapp-test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179147 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 10:25:07 +00:00
Brett Porter 6b69ca6416 fix tests that check duplicate artifacts are not added to the lists
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178289 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 03:34:40 +00:00
Brett Porter 6907587afb fix tests that check cron expression. Do javascript-based validation of an empty value, then server size validation of valid cron expression
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178288 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 02:54:45 +00:00
Brett Porter 242cfa1f9a add a patched version of Struts form template that corrects WW-3688 for URL
validation, and re-enable appearance tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178285 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 01:56:43 +00:00
Brett Porter ea1e15a65d validation for repository group addition
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178047 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 17:25:28 +00:00
Brett Porter adcd341efe missing page calls that are required for order independence
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178039 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 16:16:40 +00:00
Brett Porter 6fd8ff12c6 correct text for dotnet-library type and re-enable Selenium test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178020 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 15:35:40 +00:00
Brett Porter 027e721634 upgrade TestNG and resolve some issues with test ordering
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178013 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 15:19:31 +00:00
Brett Porter e2ee507bff fix Selenium tests for recent changes. Disable tests that show broken behaviour
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177993 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 14:37:15 +00:00
Brett Porter bb262c51b7 fix group for browsers that require upload
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177952 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 09:03:04 +00:00
Olivier Lamy 604d5117e8 fix selenium issues i18n
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1174421 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 22:19:00 +00:00
Olivier Lamy 98db72a675 fix some selenium tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1172595 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 12:41:29 +00:00
Olivier Lamy 39f4b78d4f revert previous as don't work very well....
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1172593 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 12:41:07 +00:00
Olivier Lamy 035ed200ac add a hack for selenium issue http://jira.openqa.org/browse/SRC-302
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1172592 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 12:40:46 +00:00
Olivier Lamy 22870274ca fix more selenium tests no need to wait server response for client side validation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1172554 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 10:10:14 +00:00
Olivier Lamy b2837be655 fix some test : with struts we cannot have both client and server side validation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1172553 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 10:09:53 +00:00
Olivier Lamy b296aef2e4 for some tests which are only javascript validation : no need to wait the response: improve tests speed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1172552 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 10:09:31 +00:00
Olivier Lamy 4ff75a4b90 start fixing selenium tests, faster tests with no wait when testing javascript form validation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1172551 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 10:09:04 +00:00
Olivier Lamy 31ee82d0d9 start working on fixing issue with selenium tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165351 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 16:34:57 +00:00
Brett Porter 3445922612 update licenses and send in RAT
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161440 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 08:42:50 +00:00
Olivier Lamy c03b07252e be able to try selenium tests by group
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140310 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 20:48:32 +00:00
Olivier Lamy c4234aa1bf fix selenium test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140309 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 20:48:16 +00:00
Olivier Lamy 1eeba6ab68 cleanup test as link with id not here
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1138590 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 19:16:22 +00:00
Olivier Lamy 8095a5ff97 continue work on selenium test with id rather than label
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1138210 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 22:13:49 +00:00
Olivier Lamy a26b625c43 push more work on selenium test using id rather than labels
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1138081 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 16:40:39 +00:00
Olivier Lamy feb736e529 not use default tomcat port as can't create port allocation issue on ci server
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137942 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 10:33:18 +00:00
Olivier Lamy 2bab67755e fix locale dependant tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137818 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 23:03:54 +00:00
Olivier Lamy 8715b0a767 satrt fixing some selenium to not be locale dependant only use id
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137817 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 23:03:37 +00:00
Olivier Lamy 41a9446b4b start working on use id in selenium test rather than text which make tests locale dependant
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137718 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 17:51:46 +00:00
Olivier Lamy f23144e02f ugly display stack trace in selenium tests to know why it failed on asf jenkins in ubuntu slave
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137019 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 20:59:36 +00:00
Olivier Lamy 3ebb3f35d1 add configuration for tomcat6 for cargo and made it default, add some test around forcing locale via request_locale=en_US but still failed :-(
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136916 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 15:52:41 +00:00
Maria Odea B. Ching af0ae64f42 [MRM-1475] Add proxy connector is broken
submitted by Greg Michael Meneses
o removed id attribute in struts property tag in proxy connector form which was removed in struts 2.1.x
o added selenium test for add proxy connector


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1126927 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 08:37:00 +00:00
Maria Odea B. Ching 8fd13f6d0a merge -r1098897 from 1.3.x branch (MRM-1468: Fix XSS vulnerability in Archiva, patch submitted by Marc Jansen Tan Chua)
additional changes:
o added a factory for action validator manager since ObjectFactory.setObjectFactory(..) was removed in struts 2.1 so the unit tests for validation would work
o fixed conflicts

TODO:
o fix some failing selenium tests due to error 500


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1099425 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 12:03:29 +00:00
Brett Porter 6566bcaa5e [MRM-1111] fix xpath after reverting to default freemarker templates
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091636 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 03:28:45 +00:00
Brett Porter c2e2076916 [MRM-1111] fix xpath after reverting to default freemarker templates
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091633 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 03:08:42 +00:00
Brett Porter e064cd7f67 accidentally merged Selenium tests that test functionality no longer there
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091631 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 03:03:54 +00:00
Brett Porter 58d905941b [MRM-1480]/[REDBACK-274] (CVE-2011-1026)
o upgrade to redback 1.2.8-SNAPSHOT
o configured struts2's token interceptor + use of <s:token> in affected actions to prevent CSRF issue
[MRM-1460] added selenium tests for CSRF fixes in affected pages
Merged: r1066067:1091313


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091315 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 07:16:34 +00:00
Brett Porter 8c5de76d3b Customise settings so that you can debug the cargo instance, and show tests to output as they progress
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053778 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 01:05:58 +00:00
Maria Odea B. Ching e82ce0f0b5 merged MRM-980 branch to trunk
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1002059 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 09:09:32 +00:00
Jevica Arianne B. Zurbano 8cfd3806cc [MRM-1394] - Replace the use of clickLinkWithText() with getSelenium().open() for accessing navigation menu pages
merge -r 960310:960311 from 1.3.x branch



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@960322 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04 11:27:10 +00:00
Maria Odea B. Ching a72aeb4d5e [MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
o do not show add property widget if user does not have repository manager role
o added selenium test for browsing metadata if user is not a repository manager


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@953612 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 08:49:48 +00:00
Maria Odea B. Ching a15932eb45 [MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
o updated selenium test for deleting metadata
o added selenium tests for adding generic metadata property


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@952174 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 09:56:57 +00:00
Jevica Arianne B. Zurbano 2ee860c6a0 [MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
* added mailingLists, licenses, and dependency in test artifact's pom
* added Selenium test for delete of metadata properties (mailing list, dependency, and license)



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@948793 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 11:54:24 +00:00
Jevica Arianne B. Zurbano 8d7216a00e added selenium test to check the artifact page tabs
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@947039 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 15:29:49 +00:00
Jevica Arianne B. Zurbano 71f252b734 [MRM-1125] - default search should be AND not OR for multiple keywords
* applied patch
* added additional unit and selenium tests for quick search

Submitted by: Gwen Harold Autencio



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@944632 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 12:56:34 +00:00
Maria Odea B. Ching ced10f5fa5 [MRM-1353] Build number is always 1 for SNAPSHOT artifacts uploaded via web upload form
merge -c 930528 from 1.3.x branch with some tweaks in the unit and selenium tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@940163 13f79535-47bb-0310-9956-ffa450edef68
2010-05-02 06:13:08 +00:00
Marecor M. Baclay 45db0bf072 [MRM-1276] Selenium tests need a clean up
- removed the unnecessary commented out lines
- modified LoginTest to use the methods in abstract class



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@933824 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 01:02:19 +00:00