Skip to content

TestCafe hangs on click of submit button in an iframe when the click is submitting form and redirecting to a page of a different domain #4232

@lprasanthi

Description

@lprasanthi

What is your Test Scenario?

We are testing a page that loads a form in an iframe from source (www.domain1.comapny.com/load).
User completes the form and submit's it to www.domain1.company.com/submit which then redirects to www.domain2.company.com/anotherform(within the same iframe).

Test hangs after submit. It submits and redirects to the new page(i can see in the UI) but is stuck there(window never closes and next steps are not executed).

What is the Current behavior?

What is the Expected behavior?

What is your web application and your TestCafe test code?

Web application is in ruby on rails framework.

Your website URL (or attach your complete example):

Unfortunately I can't share the code but I'm happy to share snippets and video if that helps.
Wanted to understand if this is a limitation with testcafe framework as it's redirecting to a cross domain.

 
Your complete configuration file (if any):

Your complete test report:

Screenshots:

Steps to Reproduce:

  1. Go to my website ...
  2. Execute this command...
  3. See the error...

Your Environment details:

  • testcafe version: 1.3.0-alpha.1
  • node.js version: 12.9.0
  • command-line arguments: "testcafe chrome -e test.js"
  • browser name and version: Chrome Version 74.0.3729.131
  • platform and version: Mac OS Mojave Version 10.14.5
  • other:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions