From dev-return-7845-apmail-continuum-dev-archive=continuum.apache.org@continuum.apache.org Thu Feb 19 03:40:27 2009 Return-Path: Delivered-To: apmail-continuum-dev-archive@www.apache.org Received: (qmail 46192 invoked from network); 19 Feb 2009 03:40:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Feb 2009 03:40:27 -0000 Received: (qmail 46820 invoked by uid 500); 19 Feb 2009 03:40:27 -0000 Delivered-To: apmail-continuum-dev-archive@continuum.apache.org Received: (qmail 46778 invoked by uid 500); 19 Feb 2009 03:40:27 -0000 Mailing-List: contact dev-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@continuum.apache.org Delivered-To: mailing list dev@continuum.apache.org Received: (qmail 46764 invoked by uid 99); 19 Feb 2009 03:40:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Feb 2009 19:40:27 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of wsmoak@gmail.com designates 209.85.217.172 as permitted sender) Received: from [209.85.217.172] (HELO mail-gx0-f172.google.com) (209.85.217.172) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Feb 2009 03:40:19 +0000 Received: by gxk20 with SMTP id 20so604410gxk.2 for ; Wed, 18 Feb 2009 19:39:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=FdcdqRM6hdcb4t9K2Dumxyjo1dW/YO6EtzuQga0vM2A=; b=D1Iw3+i6XStvtnMbXFQxOwMnWTZx4HmQJ2mwxfRCx2ssejfEAFYiB7NCxCsZkOzxgu d5p0wC+EnWY6N1soAi/3OXUvtfqHPKEBuFEWGW+EhkLyP8Np6xtQ/zfq3usvzm50RNNz ooLbnUo+oQ+2WpGv9cDeNfCp7tNBj+9/YIL5I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=QOE3t886qxvXmOkAi2q8OrL3b9CeMpTl4vnFWlnHKKclCeOE11b8AN1KWtkljppXgH eakG9qOUAij1QRTn0OGSieeVGsyH/dO8ks6MOCuzqk3Xn3givhjiyED1LcxRjuZY1uWJ W5DuV8kp+5gjTxRrVV1lnP7PdttFuvnH089Gs= MIME-Version: 1.0 Received: by 10.150.144.17 with SMTP id r17mr547338ybd.43.1235014798087; Wed, 18 Feb 2009 19:39:58 -0800 (PST) In-Reply-To: References: <1E413380C32D2146A6048413F2EF174A16DE51@GMVMAIL1.gmv.es> Date: Wed, 18 Feb 2009 20:39:58 -0700 Message-ID: Subject: Re: Reviving the automated Selenium tests From: Wendy Smoak To: dev@continuum.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Fri, Feb 13, 2009 at 2:57 PM, Wendy Smoak wrote: > What I'm working on right now is getting the container > start/deploy/stop part automated again. Success! Or, progress, at least. I think I just re-learned all the lessons that the first person who did this went through. :) If you execute... cd continuum-webapp-test mvn clean install -f it-pom.xml ... you will see the container start, and then the original tests fail as they hit the Create Admin User page and never get past it. The it-pom.xml and src/test/it-resources/it.properties files go with the code in src/test/it, which is the original set of tests we had. The pom.xml and src/test/resources/it.properties files go with src/test/java, which has a single test for the About page, which runs successfully. This one requires that you start the webapp yourself -- the easiest way to do that is 'mvn jetty:run' in the continuum-webapp module. You can mix and match test code and container start methods by editing testSourceDirectory and testResources in the poms. Next on the agenda... either coming up with a new set of tests, or repairing the old ones. Any volunteers? -- Wendy