by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 09:26
    christian-bromann synchronize #5804
  • 09:26

    christian-bromann on cb-remove-babel

    PR feedback (compare)

  • 08:59
    christian-bromann closed #5875
  • 08:59
    christian-bromann commented #5875
  • 08:57
    christian-bromann labeled #5875
  • 08:56
    christian-bromann commented #5876
  • 08:54
    SkylerGrail commented #5876
  • 08:50
    christian-bromann commented #5876
  • 08:42
    mgrybyk closed #5876
  • 08:42
    mgrybyk commented #5876
  • 08:38
    SkylerGrail opened #5876
  • 08:06

    christian-bromann on v6.5.2

    update deps v6.5.2 (compare)

  • 08:05

    christian-bromann on master

    update deps v6.5.2 (compare)

  • 08:05

    christian-bromann on v6.5.2

    (compare)

  • 07:26
    khyati2010 opened #5875
  • 01:54
    jags14385 commented #5668
  • Sep 17 17:42
    alecf opened #5874
  • Sep 17 16:22
    takeya0x86 commented #5380
  • Sep 17 15:31
    codecov[bot] commented #3708
  • Sep 17 15:31
    codecov[bot] commented #3148
slawomir-brzezinski-at-travcorp
@slawomir-brzezinski-at-travcorp
but to be precise, from the docs, I only have access to the process to kill in callback to start - like here: https://github.com/vvo/selenium-standalone#seleniumstartopts-cb
and over there, in the callback, if I do child.kill(), it works
but that's obviously premature :)
it seems like that runs in some separate scope/memory
Tony Keith
@onewithhammer

I'm using grunt + grunt-webdriver + saucelabs + sauceconect. When I run 1 file everything works file but when I try to run 2 files for same I get the following error:
`Running "webdriver:ieexample" (webdriver) task

Grunt Saucelabs Test for Web Driver IO - Tutorial Test Page Website

✓ should be load correct page and title (2499ms)

Title Test for Web Driver IO - Tutorial Test Page Website

✓ should be load correct page and title (1141ms)

Copyright Test for Web Driver IO - Tutorial Test Page Website

1) should be load correct page and title

2) should contain Copyright text

3) should contain Copyright text

2 passing (5s)

3 failing

1) Copyright Test for Web Driver IO - Tutorial Test Page Website should be load correct page and title:

 Uncaught RuntimeError

 Problem: The command you just sent (POST url) has no session ID.

This is generally caused by testing frameworks trying to run commands after the conclusion of a test.

For example, you may be trying to capture a screenshot or retrieve server logs after selenium.stop() or driver.quit() was called in a tearDown method.

Please make sure this process happens before the session is ended.

 Callstack:

-> url("http://www.tlkeith.com/WebDriverIOTutorialTest.html")
`

Tony Keith
@onewithhammer
Nevermind...I found the issue
Christian Bromann
@christian-bromann
cool
just read the text
hellis007
@hellis007
ERROR: Cannot read property 'expectationResultHandler' of undefined
browserName: "chrome". I extremely new to this project and was wondering if I could some assistance with the following error. I'm trying to run jasmine from the wdio.conf.js file I getting the following error. I tried changing the browserName to Firefox and even phantomJS. I'm sure it's something simple I'm missing. Any help would be greatly appreciated. Thanks
Christian Bromann
@christian-bromann
interesting, you pointed out a bug .. I am gonna file an issue
please add jasmineNodeOpts to your wdio conf
even if it is an empty object
hellis007
@hellis007
ok, will do. let me give it a try! thanks
worked like a charm! my test runner is going through fine.
Christian Bromann
@christian-bromann
issue created webdriverio/webdriverio#691
hellis007
@hellis007
thanks christian
slawomir-brzezinski-at-travcorp
@slawomir-brzezinski-at-travcorp
Hey @christian-bromann . The reason for my yesterday's problem was onComplete not firing. And the reason behind that capabilities had an invalid falsy entry created by: [, { browserName: 'chrome' }] (note the comma).
(It was left by some hasty trimmings of the sample project by fellow dev. Seriously! :smile: )
slawomir-brzezinski-at-travcorp
@slawomir-brzezinski-at-travcorp
nevertheless, I guess caps could use some removal of falsies, because it seems that the underlying infrastructure doesn't mind them (the tests were running fine)
Johan Thallauer
@JohanTh

hello, when I try to search for a dom element that has been removed:

return this.client
    .waitForExist("selector", undefined, true)
    .should.eventually.be.true;

I get:

AssertionError: expected undefined to be true
Christian Bromann
@christian-bromann
return this.client
    .isExisting("selector")
    .should.eventually.be.false;
Johan Thallauer
@JohanTh

@christian-bromann that gives me

AssertionError: expected true to be false

Christian Bromann
@christian-bromann
then the selector wasn’t removed from the page :wink:
Johan Thallauer
@JohanTh
I can inspect the element in the mirror after this step fails and see that it is gone :worried:
Christian Bromann
@christian-bromann
ok, try this:
return this.client
    .waitForExist("selector", 5000, true)
    .should.eventually.be.true;
this increases the timeout
Johan Thallauer
@JohanTh

that still gave me:

AssertionError: expected undefined to be true

Christian Bromann
@christian-bromann
mhm..and how about:
return this.client
    .waitForExist("selector", 5000, true)
    .isExisting("selector")
    .should.eventually.be.false;
Johan Thallauer
@JohanTh
oh no, sorry, the problem is that I'm an idiot. I had two steps with almost identical names who was doing checks on the same element. What's in the cheat sheet works.
Miguel Rivera
@miguelrivera
Guys, does anyone know how to set a certain screen resolution when using phantomjs? I suspect it must be some capability one adds, right?
Christian Bromann
@christian-bromann
@miguelrivera just call http://webdriver.io/api/window/setViewportSize.html right after calling init
Miguel Rivera
@miguelrivera
of course you had a method for that, damn this driver is good!
Christian Bromann
@christian-bromann
;)
even two, one for setting the viewport and one for setting window size ;)
Miguel Rivera
@miguelrivera
That was my next question, haha
Christian Bromann
@christian-bromann
but I am not sure if these work in phantomjs since it is a headless browser
Miguel Rivera
@miguelrivera
Worked just fine!
Christian Bromann
@christian-bromann
cool
Miguel Rivera
@miguelrivera
btw, any suggestions on the best way to wait for a modal backdrop to go away?
Christian Bromann
@christian-bromann
all waitfor commands have a reverse flag so waitforexist is like waitforwentaway or sth like this
Miguel Rivera
@miguelrivera
Ok
Dan Dascalescu
@dandv
I'd like to have one test suite in Gherkin syntax, and run it against some headless browser first (which one, is another good question) before running it against Selenium in the cloud (which is slow and expensive). How can I do that? Is it also likely that some tests may fail in the headless browser but they'll work in a real browser? If so, how can I specify in the test suite or config files that certain tests are to be run only against Selenium?
Dan Dascalescu
@dandv

@dandv I was experimenting with fibers to get sync in webdriverio .. got it working for protocol commands but not for nested commands, definitelly something I wanna add to webdriverio

Is there any work underway from the Xolvio guys, or only plans at this stage? https://github.com/meteor-velocity/velocity/issues/254#issuecomment-127039842 Curious if they got in touch with you (I'm a Meteor user).

Miguel Rivera
@miguelrivera
Anyone who's has tried to trigger client side events? For instance to trigger the change event on a certain <input>?
slawomir-brzezinski-at-travcorp
@slawomir-brzezinski-at-travcorp
I'm running WDIO with cucumber. For debugging purposes, what's the best way to make it not close the browser when the test fails?
Johan Thallauer
@JohanTh
can we click a <a href="findThis">link</a> by its href value?