question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Test hangs on AJAX request

See original GitHub issue

Are you requesting a feature or reporting a bug?

Bug

What is the current behaviour?

Page is not loaded. Response from server is never returned.

What is the expected behaviour?

Page is loaded.

How would you reproduce the current behaviour (if this is a bug)?

Run the included test.

Provide the test code and the tested page URL (if applicable)

Tested page URL: https://secure.gooddata.com/account.html

Test code

fixture `login`
    .page('https://secure.gooddata.com/account.html');

test('login', async (t) => {
    await t
        .typeText('.s-login-login', 'john@example.com')
        .typeText('.s-login-password', 'xxx')
        .click('.s-login-button');

    await t.select('.gd-header');
});

Specify your

  • operating system: macOS 10.12
  • testcafe version: 0.9
  • node.js version: 6.7.0

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
crudocommented, Nov 7, 2016

@georgiy-abbasov It works like a charm. Thanks a lot!

0reactions
lock[bot]commented, Mar 29, 2019

This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests. We recommend you ask TestCafe API, usage and configuration inquiries on StackOverflow.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Lengthy jQuery AJAX request freezes browser - Stack Overflow
I have an AJAX request, processing of AJAX request is complex and lengthy. The problem is that this lengthy request freezes browser.
Read more >
Time consuming AJAX call freezes UI page on submit...
Hi folks, Here's a breakdown of a problem I have on Geneva: 1) Client script onSubmit function calls a javascript class on the...
Read more >
Append a larger data to view after ajax post without freezing ...
I tried as per your suggestion. At the time of ajax post browser has not been hang. Browser will be hang when I...
Read more >
AJAX XMLHttpRequest - W3Schools
The XMLHttpRequest object is used to request data from a server. ... If the server is busy or slow, the application will hang...
Read more >
Bug #8257 :: Hangs up the Browser After AJAX request Untill ...
getSeconds(); // We need to call the Topic listing function after 10 seconds so when first time the AJAX call is made //...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found