Olivier Lamy
c6066ec4b2
upgrade selenium version used
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165352 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 16:35:11 +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
4d06deba67
use selenium plugin released version
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1154859 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 07:38:57 +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
701a06014a
headless profile already exist
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137029 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 21:18:28 +00:00
Olivier Lamy
85bf1da66b
add xvfb profile to be able to run selenium test on a headless machine
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137020 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 20:59:47 +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
Olivier Lamy
a784ace80c
upgrade default 5.x tomcat version to 5.5.33
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136683 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 21:07:14 +00:00
Olivier Lamy
5fd154909b
add a tomcat6 profile
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136682 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 21:07:03 +00:00
Olivier Lamy
51abce7789
make selenium mojo version configure and add a chrome profile
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136498 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 15:54:24 +00:00
Olivier Lamy
3875bf1f0f
upgrade cargo plugin to 1.1.1
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136208 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 21:38:13 +00:00
Olivier Lamy
c2a4cc53da
move cargo port to a property and selenium plugin version to pluginManagement section
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136207 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 21:38:02 +00:00
Olivier Lamy
9d2be26c55
fix it run
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136195 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 21:15:24 +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
51b1e5e8a3
cut-and-paste error
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091634 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 03:19:27 +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
1b9d78a769
give Cargo some more memory to run the application
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091632 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 03:05:17 +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
Brett Porter
f56609efad
[MRM-1330] refactor access around the concept of a "repository session". See Javadoc for some notes. This should be a single entry point for application users of either the metadata repository, resolution, or storage access. The session needs to be explicitly closed (and modifications saved) to facilitate some storage mechanisms.
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053542 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 06:14:04 +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
Maria Odea B. Ching
dda469036d
[MRM-1372] Outdated instruction for Maven and JUnit still in ReadMe.txt for selenium tests
...
submitted by Patti Arachchige Eshan Sudharaka
o remove instruction for running pom in src/test/it
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@933495 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 06:55:01 +00:00
Marecor M. Baclay
713c937982
[MRM-1276] Selenium tests need a clean up
...
- added license to AbstractArtifactManagementTest class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@931478 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 09:29:51 +00:00
Marecor M. Baclay
ddeaa798b6
[MRM-1276] Selenium tests need a clean up
...
- fixed poor formatting in the source code (tabs, etc) following the Maven Code Style
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@931475 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 09:27:05 +00:00
Marecor M. Baclay
45100a8806
[MRM-1276] Selenium tests need a clean up
...
- used getSelenium().open() instead of clickLinkWithText
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@931081 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 10:48:51 +00:00
Marecor M. Baclay
b60226f360
[MRM-1276] Selenium tests need a clean up
...
- removed it.properties in src/test/resources
- updated the path in property file and some classes for the changes made in r.928992
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@929005 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 06:16:30 +00:00
Marecor M. Baclay
edf2cd3a40
[MRM-1276] Selenium tests need a clean up
...
-transferred the contents of src/test/it-resources to src/test/resources
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@928992 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 05:23:07 +00:00
Marecor M. Baclay
286a4ee97e
- replaced the missed hardcoded value with the value in the property file
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@925151 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 09:20:14 +00:00
Marecor M. Baclay
8d9c3f7613
- modified the scripts to use a property file(testng.properties) for dotnet artifact's groupId, artifactId and version
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@925149 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 09:13:31 +00:00