Testcafe: Angular app without "#" in url can not be accessed

Created on 23 Oct 2017  路  6Comments  路  Source: DevExpress/testcafe

Are you requesting a feature or reporting a bug?

  • reporting a bug

What is the current behavior?

  • Angular app without "#" in url can not be accessed

What is the expected behavior?

  • Angular app without "#" in url can be accessed

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

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

Tested page URL:

import { Selector } from 'testcafe';

fixture `Angular TodoMVC`
  .page('https://manage-test.adtechmedia.io/accounts/signup');

test('Check the application title', async t => {
  const appTitle = Selector('h1');

  await t.expect(appTitle.textContent).eql('todos');
}); 

Specify your

  • operating system: macOS Sierra version 10.12.6
  • testcafe version: 0.18.1
  • node.js version: v8.5.0
Auto-locked hammerhead bug

Most helpful comment

The fix is published in [email protected]

All 6 comments

Hi @avozicov,

Thanks for your report. I've reproduced the issue.

If I set the 'https://manage-test.adtechmedia.io/' url as a test page it works correctly. But If I set the signup page ('https://manage-test.adtechmedia.io/accounts/signup') as a test page it's broken.
We'll investigate it and will notify you about our progress.

I've reproduced it in hammerhead-playground as well. /cc @miherlosev @LavrovArtem

Hi @AlexanderMoskovkin ,
Thank you for the prompt reply.

Hi @avozicov,

I see the problem in our proxy.
I've created a separate issue regarding it: https://github.com/DevExpress/testcafe-hammerhead/issues/1349

The fix is published in [email protected]

@AlexanderMoskovkin @miherlosev @VasilyStrelyaev
Great! Thank you very much!

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