testcafe-hammerhead: hammerhead does not navigate to landing page after clicking log in button

What is your Scenario?

Login to “https://secure.wufoo.com/login” and verify the “Create New Form” button on the landing page.

What is the Current behavior?

Hammerhead doesn’t navigate to the landing page. Stays on the login page after supplying valid credentials and clicking on “Confirm” button.

What is the Expected behavior?

Should navigate to landing page after successful authentication.

What is your public web site URL?

https://secure.wufoo.com/login

Your website URL (or attach your complete example): https://secure.wufoo.com/login

Steps to Reproduce:

  1. Run hammerhead proxy on your local.
  2. Navigate to: “https://secure.wufoo.com/login
  3. Enter username = “test_testcafe@sample.com” and password = “test123” and click on Confirm button.
  4. See the error: hammerhead stays in the same page and doesn’t navigate to landing page.

###Test Code:

import { Selector } from 'testcafe';

fixture('wufoo test suite')
  .page(`https://secure.wufoo.com/login`);

test('My first wufoo test', async t => {
  const username = Selector('#emailInput');
  const password = Selector('#passwordLogin');
  const login = Selector('#saveForm');
  await t
    .typeText(username, 'test_testcafe@sample.com')
    .typeText(password, 'test123')
    .click(login);
  const createFormButtonText = await Selector('#forms-create-new').textContent;
  await t.expect(createFormButtonText).eql('CREATE A NEW FORM');
});

Your Environment details:

  • node.js version: 12.14.1, 10.16 , 10.14
  • browser name and version: chrome (80.0.3987.100) , Chrome 76.0.3809.87, Firefox (
  • platform and version: macOS 10.14
  • other: Reproducible on multiple other chrome and firefox versions too.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (4 by maintainers)

Most upvoted comments

Hello,

We reproduced the issue, but didn’t manage to address it yet. Once we have any news, we will share here. Please bear with us.