On Tue, Jun 26, 2012 at 11:04 AM, Chris Geer <[email protected]> wrote:
> > > On Tue, Jun 26, 2012 at 10:47 AM, Franklin, Matthew B. < > [email protected]> wrote: > >> >-----Original Message----- >> >From: Chris Geer [mailto:[email protected]] >> >Sent: Tuesday, June 26, 2012 1:28 PM >> >To: dev >> >Subject: Integration Test Failures >> > >> >I've updated Rave (not-committed) to Shindig 2.5.0-beta2 and things are >> >working but I'm getting one failure in the integration tests. My plan was >> >to wait until Matt integrated the branch into main, get the latest and >> >commit the changes for beta2. I'm not sure how to fix this particular >> issue >> >so I'm proposing I commit the changes as long as things compile and pass >> >unit tests and then we can fix this issue post check-in. Let me know if >> >anyone disagrees with this approach. >> >> I would prefer to reintegrate the branch first. Can you see what element >> it is trying to find that isn't visible? >> > > I agree with you reintegrating the branch, then me making sure beta2 works > with the branch. > Or better said, "make sure beta2 works with the newly integrated trunk" > > Here is the method being called. It would be one of these two elements. > > @When("I delete the current page") > public void deleteCurrentPage() { > final WebElement activePage = > > portal.findElement(By.xpath("//div[@id='pageContent']/nav//li[contains(@class, > 'active')]")); > activePage.click(); > sleep(2000L); > final WebElement deletePageLink = > portal.findElement(By.xpath("//li[@id='pageMenuDelete']/a")); > deletePageLink.click(); > } > >> >> > >> >Chris >> > >> >When I delete the current page (FAILED) >> >(org.openqa.selenium.ElementNotVisibleException: Element is not currently >> >visible and so may not be interacted with >> >Command duration or timeout: 11 milliseconds >> >Build info: version: '2.2.1', revision: '16551', time: '2012-04-11 >> 21:42:35' >> >System info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: >> '10.7.4', >> >java.version: '1.6.0_31' >> >Driver info: driver.version: RemoteWebDriver) >> >When I log out (NOT PERFORMED) >> > >> >org.openqa.selenium.ElementNotVisibleException: Element is not currently >> >visible and so may not be interacted with >> >Command duration or timeout: 11 milliseconds >> >Build info: version: '2.2.1', revision: '16551', time: '2012-04-11 >> 21:42:35' >> >System info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: >> '10.7.4', >> >java.version: '1.6.0_31' >> >Driver info: driver.version: RemoteWebDriver >> >(reflection-construct) >> >at >> >org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.jav >> >a:175) >> > at >> >org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHand >> >ler.java:128) >> >at >> >org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver >> >.java:459) >> > at >> >org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebEle >> >ment.java:245) >> >at >> >org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElemen >> >t.java:78) >> > at >> >org.apache.rave.integrationtests.steps.PageOperationsSteps.deleteCurrentP >> >age(PageOperationsSteps.java:87) >> >(reflection-invoke) >> > at >> >org.jbehave.core.steps.StepCreator$ParameterisedStep.perform(StepCreato >> >r.java:533) >> >at >> >org.jbehave.core.embedder.StoryRunner$FineSoFar.run(StoryRunner.java:47 >> >4) >> > >> >[WARNING] Failed to run story johnDoe.story >> >org.jbehave.core.failures.UUIDExceptionWrapper: When I delete the current >> >page >> >at >> >org.jbehave.core.steps.StepCreator$ParameterisedStep.perform(StepCreato >> >r.java:547) >> > at >> >org.jbehave.core.embedder.StoryRunner$FineSoFar.run(StoryRunner.java:47 >> >4) >> >at >> >org.jbehave.core.embedder.StoryRunner.runStepsWhileKeepingState(StoryR >> >unner.java:454) >> > at >> >org.jbehave.core.embedder.StoryRunner.runScenarioSteps(StoryRunner.jav >> >a:418) >> >at >> >org.jbehave.core.embedder.StoryRunner.runCancellable(StoryRunner.java:2 >> >95) >> > at org.jbehave.core.embedder.StoryRunner.run(StoryRunner.java:211) >> >at org.jbehave.core.embedder.StoryRunner.run(StoryRunner.java:172) >> > at >> >org.jbehave.core.embedder.StoryManager$EnqueuedStory.call(StoryManag >> >er.java:197) >> >at >> >org.jbehave.core.embedder.StoryManager$EnqueuedStory.call(StoryManag >> >er.java:169) >> > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) >> >at java.util.concurrent.FutureTask.run(FutureTask.java:138) >> > at >> >java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecuto >> >r.java:886) >> >at >> >java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.jav >> >a:908) >> > at java.lang.Thread.run(Thread.java:680) >> >Caused by: org.openqa.selenium.ElementNotVisibleException: Element is not >> >currently visible and so may not be interacted with >> >Command duration or timeout: 11 milliseconds >> >Build info: version: '2.2.1', revision: '16551', time: '2012-04-11 >> 21:42:35' >> >System info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: >> '10.7.4', >> >java.version: '1.6.0_31' >> >Driver info: driver.version: RemoteWebDriver >> >at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) >> >at >> >sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA >> >ccessorImpl.java:39) >> > at >> >sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConst >> >ructorAccessorImpl.java:27) >> >at java.lang.reflect.Constructor.newInstance(Constructor.java:513) >> > at >> >org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.jav >> >a:175) >> >at >> >org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHand >> >ler.java:128) >> > at >> >org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver >> >.java:459) >> >at >> >org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebEle >> >ment.java:245) >> > at >> >org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElemen >> >t.java:78) >> >at >> >org.apache.rave.integrationtests.steps.PageOperationsSteps.deleteCurrentP >> >age(PageOperationsSteps.java:87) >> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> >at >> >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j >> >ava:39) >> > at >> >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess >> >orImpl.java:25) >> >at java.lang.reflect.Method.invoke(Method.java:597) >> > at >> >org.jbehave.core.steps.StepCreator$ParameterisedStep.perform(StepCreato >> >r.java:533) >> >... 13 more >> >Caused by: >> >org.openqa.selenium.remote.ErrorHandler$UnknownServerException: >> >Element is not currently visible and so may not be interacted with >> >Build info: version: '2.2.1', revision: '16551', time: '2012-04-11 >> 21:42:35' >> >System info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: >> '10.7.4', >> >java.version: '1.6.0_31' >> >Driver info: driver.version: unknown >> > at <anonymous class>.<anonymous >> >method>(file:///var/folders/67/qm919r790cd2s9lpk8zr9gpr0000gn/T/anonym >> >ous2117900345009172465webdriver-profile/extensions/ >> >[email protected]/components/command_processor.js:5780) >> > at <anonymous class>.<anonymous >> >method>(file:///var/folders/67/qm919r790cd2s9lpk8zr9gpr0000gn/T/anonym >> >ous2117900345009172465webdriver-profile/extensions/ >> >[email protected]/components/command_processor.js:9753) >> > at <anonymous class>.<anonymous >> >method>(file:///var/folders/67/qm919r790cd2s9lpk8zr9gpr0000gn/T/anonym >> >ous2117900345009172465webdriver-profile/extensions/ >> >[email protected]/components/command_processor.js:9774) >> > at <anonymous class>.<anonymous >> >method>(file:///var/folders/67/qm919r790cd2s9lpk8zr9gpr0000gn/T/anonym >> >ous2117900345009172465webdriver-profile/extensions/ >> >[email protected]/components/command_processor.js:9779) >> > at <anonymous class>.<anonymous >> >method>(file:///var/folders/67/qm919r790cd2s9lpk8zr9gpr0000gn/T/anonym >> >ous2117900345009172465webdriver-profile/extensions/ >> >[email protected]/components/command_processor.js:9725) >> > >
