Code Monkey home page Code Monkey logo

Comments (9)

jzaefferer avatar jzaefferer commented on July 4, 2024

@dhimil @nakula since I somewhat got your attention, this and other timeout issues are a massive blocker for really using this tool. Since I have very limited access to your infrastructure, it would be of massive and important help if you could spend time on it. Meanwhile I'm trying to help with everything else to get this tool to a 1.0.0 release.

from browserstack-runner.

jzaefferer avatar jzaefferer commented on July 4, 2024

@dhimil @nakula could you look into this again?

from browserstack-runner.

jzaefferer avatar jzaefferer commented on July 4, 2024

I just tried this again and got the same result, using browserstack-runner 0.2.0. All runners time out after the first URL is done. Maybe one of the changes in master will help, still need a published release to test that.

from browserstack-runner.

nakula avatar nakula commented on July 4, 2024

oops. let me publish it.

On Fri, Nov 7, 2014 at 5:20 PM, Jörn Zaefferer [email protected]
wrote:

I just tried this again and got the same result, using browserstack-runner
0.2.0. All runners time out after the first URL is done. Maybe one of the
changes in master will help, still need a published release to test that.


Reply to this email directly or view it on GitHub
#95 (comment)
.

regards
Nakul Aggarwal
www.browserstack.com

from browserstack-runner.

nakula avatar nakula commented on July 4, 2024

just added you as author and published a new version as well :-)

On Fri, Nov 7, 2014 at 5:24 PM, Nakul Aggarwal [email protected] wrote:

oops. let me publish it.

On Fri, Nov 7, 2014 at 5:20 PM, Jörn Zaefferer [email protected]
wrote:

I just tried this again and got the same result, using
browserstack-runner 0.2.0. All runners time out after the first URL is
done. Maybe one of the changes in master will help, still need a published
release to test that.


Reply to this email directly or view it on GitHub
#95 (comment)
.

regards
Nakul Aggarwal
www.browserstack.com

regards
Nakul Aggarwal
www.browserstack.com

from browserstack-runner.

jzaefferer avatar jzaefferer commented on July 4, 2024

Thanks. Just tried again with 0.2.1, still fails to change URLs, see https://travis-ci.org/jzaefferer/qunit/builds/40286418 and https://www.browserstack.com/automate/builds/2ee5c348dde5aae31f822dc4ba573492cfdeccfc/sessions/bd6a4f2ad78fba7e10c597f6359707fb53bdb518

If you have access to the latter, you can see that it took two screenshots, one for the first page as intended, another one of the same page. Apparently the first page finishes, it takes the screenshot, then the changeUrl call doesn't do anything and it just sits there for five minutes, doing nothing. Until it times out, screenshots the same page again and errors out.

If that was happening locally I could debug it, but it only happens for me on Travis. One test run takes at least five minutes, and I have no clue what is going wrong.

Can you check if the API call to change the URL is received? May there's an error somewhere that isn't shown in the Travis build output?

from browserstack-runner.

nakula avatar nakula commented on July 4, 2024

there should be change url call as well on dashboard, which possibly means
it was never fired. can we log "change url" call in travis as well?

On Fri, Nov 7, 2014 at 6:06 PM, Jörn Zaefferer [email protected]
wrote:

Thanks. Just tried again with 0.2.1, still fails to change URLs, see
https://travis-ci.org/jzaefferer/qunit/builds/40286418 and
https://www.browserstack.com/automate/builds/2ee5c348dde5aae31f822dc4ba573492cfdeccfc/sessions/bd6a4f2ad78fba7e10c597f6359707fb53bdb518

If you have access to the latter, you can see that it took two
screenshots, one for the first page as intended, another one of the same
page. Apparently the first page finishes, it takes the screenshot, then the
changeUrl call doesn't do anything and it just sits there for five minutes,
doing nothing. Until it times out, screenshots the same page again and
errors out.

If that was happening locally I could debug it, but it only happens for me
on Travis. One test run takes at least five minutes, and I have no clue
what is going wrong.

Can you check if the API call to change the URL is received? May there's
an error somewhere that isn't shown in the Travis build output?


Reply to this email directly or view it on GitHub
#95 (comment)
.

regards
Nakul Aggarwal
www.browserstack.com

from browserstack-runner.

jzaefferer avatar jzaefferer commented on July 4, 2024

I just tried this again, with a different result, but still not successful. Here's the Travis build: https://travis-ci.org/jzaefferer/qunit/builds/43829326 and the BrowserStack build: https://www.browserstack.com/automate/builds/0648827dc42c85f29417305dac42301922529127

Safari 7 and 8, both on OSX, finished in under 20 seconds. Opera 25 on Windows 7 finished in about a minute, still okay. The others all timed out, e.g. Chrome 39: https://www.browserstack.com/automate/builds/0648827dc42c85f29417305dac42301922529127/sessions/b7150a2ebc9a8b0de40b71a4d0f3d15b7502c0ff

In contrast to earlier attempts, changing the page worked, but in the browsers with timeouts, the second page failed to load. The screenshots all show something along the lines of "unable to connect" or "page failed to load". @nakula ideas?

from browserstack-runner.

jzaefferer avatar jzaefferer commented on July 4, 2024

I don't know what changed, but this is now working well.

from browserstack-runner.

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.