Coder Social home page Coder Social logo

Tests are faling about condor HOT 5 CLOSED

kesla avatar kesla commented on July 20, 2024
Tests are faling

from condor.

Comments (5)

will123195 avatar will123195 commented on July 20, 2024

Tests will run after upgrading to gnode 0.1.0.

However, it seems that scrolling is not supported?

The scroll test hangs waiting for a scroll event but no event fires.

    var events = yield {
            scroll: waitForEvent('scroll')
          , action: browser.safeEval('window.scrollTo(0, 300)')
        }

I tried using browser.scroll(0, 300) but I get unimplemented command error:

Error: [scroll(0,300)] Unexpected data in simpleCallback.
  ---
    operator: error
    expected:
      undefined
    actual:
      { [Error: [scroll(0,300)] Unexpected data in simpleCallback.] message: '[scroll(0,300)] Unexpected data in simpleCallback.', data: 'unimplemented command: session/c4839c1f7eecf306698474320b7dea68/touch/scroll', inspect: [Function] }
    at: callee$1$0$ (/Users/will/code/condor/node_modules/co-webdriver-runner/node_modules/gap/index.js:39:11)
    stack:
      Error: [scroll(0,300)] Unexpected data in simpleCallback.
        at exports.newError (/Users/will/code/condor/node_modules/co-webdriver-runner/node_modules/co-wd/node_modules/wd/lib/utils.js:139:13)
        at /Users/will/code/condor/node_modules/co-webdriver-runner/node_modules/co-wd/node_modules/wd/lib/callbacks.js:42:12
        at /Users/will/code/condor/node_modules/co-webdriver-runner/node_modules/co-wd/node_modules/wd/lib/webdriver.js:169:5
        at Request._callback (/Users/will/code/condor/node_modules/co-webdriver-runner/node_modules/co-wd/node_modules/wd/lib/http-utils.js:84:7)
        at Request.self.callback (/Users/will/code/condor/node_modules/co-webdriver-runner/node_modules/co-wd/node_modules/wd/node_modules/request/request.js:236:22)
        at Request.emit (events.js:98:17)
        at Request.<anonymous> (/Users/will/code/condor/node_modules/co-webdriver-runner/node_modules/co-wd/node_modules/wd/node_modules/request/request.js:1142:14)
        at Request.emit (events.js:117:20)
        at IncomingMessage.<anonymous> (/Users/will/code/condor/node_modules/co-webdriver-runner/node_modules/co-wd/node_modules/wd/node_modules/request/request.js:1096:12)
        at IncomingMessage.emit (events.js:117:20)
  ...

@kesla scroll was working for you?

from condor.

kesla avatar kesla commented on July 20, 2024

@will123195 Yeah all tests used to pass for me. Something weird seem to be going on, I'm taking a look at it now.

from condor.

kesla avatar kesla commented on July 20, 2024

@will123195 Alright, so I think I got a theory for why this is failing... right now I'm not defining how big the browser window should be - and maybe you have a bigass screen, so then the browser window also will be really big? And then you won't scroll...

I just ran the tests (with the updated gnode-version) and it worked for me..

from condor.

kesla avatar kesla commented on July 20, 2024

... but I'm sitting on a small laptop.

from condor.

kesla avatar kesla commented on July 20, 2024

It should of course work on whatever screensize, so I'll take a look at fixing that right now!

from condor.

Related Issues (19)

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.