3DS page loading issue and switching into iframe issue in cross domain using different versions of Testcafe v2.3.0 and Testcafe v3.3.0 #8048
Labels
STATE: Need clarification
An issue lacks information for further research.
TYPE: bug
The described behavior is considered as wrong (bug).
What is your Scenario?
Scenario 1 : Testcafe 3.3.0
Our application involves 3DS validation page where we were using Testcafe 3.3.0 . We are unable to load 3DS page using Testcafe as the hammerhead proxy is blocking the components from loading. Our page structure contains cross domains as below -
top : domain1.com
output_frame : domain2.com
stepUpIframe : domain2.com
Scenario 2 : Testcafe 2.3.0
Our application involves 3DS validation page where we were using Testcafe 2.3.0 . We are unable to switch to the stepUp iframe input field to enter the authentication. Our page structure contains cross domains as below -
top : domain1.com
output_frame : domain2.com
stepUpIframe : domain2.com
What is the Current behavior?
Scenario 1: Testcafe 3.3.0
We are unable to load 3DS page using Testcafe as the hammerhead proxy is blocking the components from loading. We have tried with native automation and without native automation. And also with our organization level proxies.
Scenario 2: Testcafe 2.3.0
We are unable to switch to the stepUp iframe input field to enter the authentication.
What is the Expected behavior?
WE should be able to switch to the iframe and enter the input fields .
What is your public website URL? (or attach your complete example)
domain1.com
What is your TestCafe test code?
import { Selector , ClientFunction } from 'testcafe'; // first import testcafe selectors
fixture
Getting Started
// declare the fixture.page ``; // specify the start page
//then create a test and place your code within it
test('My first test', async t => {
await t
.click(Selector(''));
});
Note: we have removed all the locators and sensitive info as we cannot expose the actual code
Your complete configuration file
{
"skipJsErrors": true,
"experimentalProxyless":true,
"disableCrossDomain":true,
"bypassProxy": [
"localhost",
"payment.localhost"
}
Your complete test report
No response
Screenshots
Steps to Reproduce
1.same as described above
2.
3.
TestCafe version
3.3.0 and 2.3.0
Node.js version
16 and 18
Command-line arguments
testcafe chrome testing.js
Browser name(s) and version(s)
No response
Platform(s) and version(s)
No response
Other
No response
The text was updated successfully, but these errors were encountered: