Coder Social home page Coder Social logo

Comments (10)

amolenaar avatar amolenaar commented on September 15, 2024

Hi,

That should not happen (our own tests seem to be fine). Can you attach a
sample of a failing test? I'll check it out
Op 25 nov. 2012 16:23 schreef "Christian Kreutzer" [email protected]
het volgende:

Hi there,

since the latest updates (the moving of webdriver instance creation to
seperate class) i get only UnsupportedOperationException when trying to run
some tests:

EXCEPTION:java.lang.UnsupportedOperationException: setTimeout
at
org.openqa.selenium.WebDriverCommandProcessor.execute(WebDriverCommandProcessor.java:141)
at
org.openqa.selenium.WebDriverCommandProcessor.doCommand(WebDriverCommandProcessor.java:74)
at
com.xebia.incubator.xebium.SeleniumDriverFixture.executeCommand(SeleniumDriverFixture.java:466)
at
com.xebia.incubator.xebium.SeleniumDriverFixture.setTimeoutOnSelenium(SeleniumDriverFixture.java:193)
at
com.xebia.incubator.xebium.SeleniumDriverFixture.startBrowserOnUrl(SeleniumDriverFixture.java:122)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43)
at fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30)
at fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:53)
at
fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:18)
at
fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:189)
at fitnesse.slim.StatementExecutor.call(StatementExecutor.java:179)
at fitnesse.slim.Statement.callMethodAtIndex(Statement.java:104)
at fitnesse.slim.Statement.call(Statement.java:97)
at fitnesse.slim.Statement.execute(Statement.java:77)
at fitnesse.slim.ListExecutor.execute(ListExecutor.java:36)
at fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:81)
at fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:73)
at fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:57)
at fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:43)
at fitnesse.slim.SlimServer.serve(SlimServer.java:30)
at
fitnesse.socketservice.SocketService$ServerRunner.run(SocketService.java:95)
at java.lang.Thread.run(Thread.java:722)


Reply to this email directly or view it on GitHubhttps://github.com//issues/54.

from xebium.

ckreutzer avatar ckreutzer commented on September 15, 2024

Hi Arjan,

i can reproduce this behaviour with the xebium example test cases. i used a fresh git clone of the repo and did a completly fresh build after removing all jars from ~/.m2 and ~/.ivy2 --> result stays the same :-/

cheers,
Chris

from xebium.

amolenaar avatar amolenaar commented on September 15, 2024

I pushed my most recent changes. They should fix this (note to self: push commits iff everything works)

from xebium.

ckreutzer avatar ckreutzer commented on September 15, 2024

now i get an compilation error. Seems like dependancy on org.apache.commons.lang is missing in the pom file (?)

from xebium.

raboof avatar raboof commented on September 15, 2024

I can reproduce the compilation error with a fresh clone and 'mvn package'.

Added a dependency to commons-lang 2.6 (not the newer 3.1 - should be no problem as they can peacefully co-exist).

'mvn package' now succeeds for me. ('mvn -Pfitnesse test' hangs, but that's another issue and possibly local to my machine).

Should we set up a CI environment to catch issues like this?

from xebium.

hierynomus avatar hierynomus commented on September 15, 2024

You could use the cloudbees buildhive (https://buildhive.cloudbees.com/) platform to setup a CI environment.

from xebium.

ckreutzer avatar ckreutzer commented on September 15, 2024

@raboof: thanx for the fix. will try it later.
Setting up an CI env sounds like a good plan to me

from xebium.

raboof avatar raboof commented on September 15, 2024

(made a seperate issue for a CI server, #55)

from xebium.

amolenaar avatar amolenaar commented on September 15, 2024

Thanks.

I forgot to push my last change.

from xebium.

ckreutzer avatar ckreutzer commented on September 15, 2024

works now for me. i think we can cose this issue

from xebium.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.