Comments (5)
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.
@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.
@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.
... but I'm sitting on a small laptop.
from condor.
It should of course work on whatever screensize, so I'll take a look at fixing that right now!
from condor.
Related Issues (19)
- create readme HOT 1
- Secure tracking HOT 8
- do we want to create uuid for users if they don't have one cookied? HOT 7
- Unite initial visibility with onfocus & onblur
- Track when window gets closed
- Change example to a batched POST
- Track submit on forms HOT 1
- test everything
- Track arbitrary data HOT 3
- Track href and target if someone clicks on an element within an a-element
- Batching data & timestamp on server HOT 4
- Some tests are failing sometimes
- custom columns
- Ability to push trackable-custom events HOT 1
- lots of scroll data HOT 2
- add max-scroll column(s)
- log mouse movements
- visible time elapsed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from condor.