Return-Path: X-Original-To: apmail-continuum-commits-archive@www.apache.org Delivered-To: apmail-continuum-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 76EA610338 for ; Mon, 2 Dec 2013 03:55:42 +0000 (UTC) Received: (qmail 62411 invoked by uid 500); 2 Dec 2013 03:55:40 -0000 Delivered-To: apmail-continuum-commits-archive@continuum.apache.org Received: (qmail 62393 invoked by uid 500); 2 Dec 2013 03:55:34 -0000 Mailing-List: contact commits-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 commits@continuum.apache.org Received: (qmail 62384 invoked by uid 99); 2 Dec 2013 03:55:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Dec 2013 03:55:33 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Dec 2013 03:55:30 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id AF27C2388993; Mon, 2 Dec 2013 03:55:09 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1546889 - /continuum/branches/CONTINUUM-2713/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/MavenTwoProjectTest.java Date: Mon, 02 Dec 2013 03:55:09 -0000 To: commits@continuum.apache.org From: brett@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20131202035509.AF27C2388993@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: brett Date: Mon Dec 2 03:55:09 2013 New Revision: 1546889 URL: http://svn.apache.org/r1546889 Log: improve reliability of tests on a reloading page Modified: continuum/branches/CONTINUUM-2713/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/MavenTwoProjectTest.java Modified: continuum/branches/CONTINUUM-2713/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/MavenTwoProjectTest.java URL: http://svn.apache.org/viewvc/continuum/branches/CONTINUUM-2713/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/MavenTwoProjectTest.java?rev=1546889&r1=1546888&r2=1546889&view=diff ============================================================================== --- continuum/branches/CONTINUUM-2713/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/MavenTwoProjectTest.java (original) +++ continuum/branches/CONTINUUM-2713/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/MavenTwoProjectTest.java Mon Dec 2 03:55:09 2013 @@ -266,6 +266,7 @@ public class MavenTwoProjectTest // wait for project to finish checkout waitForProjectCheckout(); + waitPage(); clickLinkWithXPath( "//tbody/tr['0']/td['10']/a/img[@alt='Delete']" ); assertTextPresent( "Delete Continuum Project" ); @@ -290,6 +291,7 @@ public class MavenTwoProjectTest //wait for project to finish checkout waitForProjectCheckout(); + waitPage(); checkField( "//tbody/tr['0']/td['0']/input[@name='selectedProjects']" ); clickButtonWithValue( "Delete Project(s)" );