Testcafe-hammerhead: Empty page being rendered on Testcafe

Created on 18 Jun 2019  路  8Comments  路  Source: DevExpress/testcafe-hammerhead

What is your Test Scenario?

Navigate to the support page and run some UI tests on it

What is the Current behavior?

Empty page being rendered

image

What is the Expected behavior?

Your website URL (or attach your complete example): https://support.okta.com/help/s/


Your complete test code (or attach your test files):

 test('test', async t => {
  await t.navigateTo('https://support.okta.com/help/s');
});

Your Environment details:

  • testcafe version: 1.2.1
  • node.js version: v8.11.1
  • command-line arguments: "testcafe chrome test.js"
  • browser name and version: Chrome (any browser would do)
  • platform and version: Chrome 75.0.3770 / Mac OS X 10.14.5
client level 2 Auto-locked client side processing bug

Most helpful comment

@ArvindJoshi-okta

Hello,

Thank you for providing the public URL. I've reproduced this issue under Windows 10 / Chrome / hammerhead [18f8fd4].
Our team will research it and check for a suitable solution.

All 8 comments

@ArvindJoshi-okta

Hello,

Thank you for providing the public URL. I've reproduced this issue under Windows 10 / Chrome / hammerhead [18f8fd4].
Our team will research it and check for a suitable solution.

The simple page for reproducing:

<body>
<script>
    var proxy = new Proxy({}, {
        get(target, prop) {
            if (prop === 'document')
                return document;
            else if (prop === 'proxy')
                return proxy;
            else if (prop === 'eval')
                return eval;

            return void 0;
        },

        has(target, prop) {
            return true;
        }
    });

    with(proxy) {
        const body = document.body;

        eval('body.appendChild(document.createTextNode("Done!"))');
    }
</script>
</body>

@LavrovArtem Any ETA on a potential fix? Thanks!

@ArvindJoshi-okta

Hello,

There are several issues we found in your case and we will update this thread as soon as we get any results.

For team:
I found this聽partial聽duplication of issue聽https://github.com/DevExpress/testcafe-hammerhead/issues/2003#issuecomment-486204230.

any update on the fix

Currently, we don't have a version with this fix. Please see TestCafe Release Notes to keep informed.

The fix is published in [email protected].

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.

Was this page helpful?
0 / 5 - 0 ratings