Dmitriy, Please get a fresh copy of the cas-functional-tests. I made the following changes:
1) Added log4j2.xml and set log messages to console only so that log files were not created and left behind by the test. 2) Removed cas.proprties and cas-management.properties because they are already included in the org.jasig.cas:cas-server-webapp and org.jasig.cas:cas-management-webapp webapps. 3) Added accept.authn.users as a command-line argument so that I could test with multiple users. 4) Removed user-details.properties because it is not needed. Regards, William Crowell On Wednesday, April 27, 2016 at 2:17:55 PM UTC-4, Dmitriy Kopylenko wrote: > > Great. Thank you! > > D. > > On Apr 27, 2016, at 2:16 PM, alertyardbarker <[email protected] > <javascript:>> wrote: > > Dmitriy, > > I have pushed the code here: > https://github.com/wcrowell/cas-functional-tests > > In src/test/resources there is a chromedriver. If you do not feel > comfortable using it, then you can download it from here: > https://sites.google.com/a/chromium.org/chromedriver/downloads > > I am using the following version: > > ./chromedriver --version > ChromeDriver 2.21.371459 (36d3d07f660ff2bc1bf28a75d1cdabed0983e7c4) > > To run a build: gradle clean farmIntegartionTest > > I am using Gradle 2.10 with Groovy 2.4.4. > > For the protected-web-app that is registered with CAS in this project I > copied the web.xml, index.jsp, logout.jsp from your Unicon project: > https://github.com/UniconLabs/cas-sample-java-webapp > > Please let me know how it looks. > > Regards, > > William Crowell > > On Wednesday, April 27, 2016 at 1:05:40 PM UTC-4, Dmitriy Kopylenko wrote: >> >> +1 Let’s see it. You could push it somewhere on GH so we could take a >> look and run it, etc. >> >> On Apr 27, 2016, at 12:10 PM, alertyardbarker <[email protected]> >> wrote: >> >> I have written 4 of the tests described here: >> https://wiki.jasig.org/display/CAS/CAS+Functional+Tests >> >> This includes the following: >> >> 1) Incorrect credentials >> 2) Correct credentials, no service, SSO test >> 3) Correct credentials, with service, logout test >> 4) Gateway >> >> I am working on the following 2 tests this afternoon: >> >> 1) No credentials, gateway >> 2) Logging in as someone else >> >> I had a question on the "Correct credentials, warn, warn & gateway". I >> think the "warn" button was removed and part of an earlier CAS release. Is >> this true? >> >> The tests were written in Geb 0.13.1. I am using Gretty 1.2.4 with an >> embedded Jetty to run the tests. This is working on CAS 4.2.1. >> >> I am interested in presenting this. If it checks out ok with the >> committee, then I would be interested in submitting it to github. >> >> Please let me know. >> >> On Monday, March 7, 2016 at 8:23:31 AM UTC-5, alertyardbarker wrote: >>> >>> Misagh, >>> >>> I'll check out Geb. I was looking at the syntax and what it can do. >>> Looks like it would work. >>> >>> Thanks. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "CAS Developer" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> Visit this group at https://groups.google.com/a/apereo.org/group/cas-dev/ >> . >> >> >> > -- > You received this message because you are subscribed to the Google Groups > "CAS Developer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > Visit this group at https://groups.google.com/a/apereo.org/group/cas-dev/. > > > -- You received this message because you are subscribed to the Google Groups "CAS Developer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/a/apereo.org/group/cas-dev/.
