-
Notifications
You must be signed in to change notification settings - Fork 665
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hammerhead.js __get$(document, "location").ancestorOrigins returns <unreadable> #7022
Comments
Hi @ssemrau, Thank you for your example. I reproduced the issue. Please share your project with the code for further research. |
Hi @Aleksey28, |
Please share the code of your application where you use this microform. I need a complete example that I can use to reproduce the issue locally without complex settings. This will speed up our research. |
There is github repository provided by Cybersource which is also provider of Microform |
We will research this issue and update this thread as soon as we have any news. |
@ssemrau, I prepared a proof-of-concept fix, please try it in your environment. You can install it with the following command:
You also should add |
I can confirm that fix works as expected. |
<!-- Thank you for your contribution. Before making a PR, please read our contributing guidelines at https://github.com/DevExpress/testcafe/blob/master/CONTRIBUTING.md#code-contribution We recommend creating a *draft* PR, so that you can mark it as 'ready for review' when you are done. --> [closes #7022] ## Purpose Add `--disable-cross-domain` option ## Approach 1. Add handling CLI option `--disable-cross-domain` 2. Add switching cross-domain ## References #7022 DevExpress/testcafe-hammerhead#2806 ## Pre-Merge TODO - [ ] Write tests for your proposed changes - [ ] Make sure that existing tests do not fail Co-authored-by: Andrey Belym <belym.a.2105@gmail.com> Co-authored-by: Andrey Belym <andrey.belym@devexpress.com>
Release v2.1.0-rc.1 addresses this. |
What is your Scenario?
Fuse Microform iframes should be shown in given div containers.
See this doc: https://developer.cybersource.com/docs/cybs/en-us/digital-accept-flex/developer/all/rest/digital-accept-flex/microform-integ/microform-integ-getting-started/setting-up-client-side.html
What is the Current behavior?
When I test it manually all works fine, when I run the test script I get the issue that
__get$(document, "location").ancestorOrigins
returns value unreadable as per screenshot belowWhat is the Expected behavior?
__get$(document, "location").ancestorOrigins
returns 'http://localhost:12345'What is your public website URL? (or attach your complete example)
https://flex-microform-hammerhead-issue.azurewebsites.net/
What is your TestCafe test code?
Your complete configuration file
.testcaferc.json
{ "skipJsErrors": true, "hostname": "localhost", "port1": 12345, "port2": 12346 }
Your complete test report
No response
Screenshots
Steps to Reproduce
Mount Security Code
buttonMount Security Code
button again and in debug inspectdocument
and__get$(document, "location")
variablesTestCafe version
1.18.6
Node.js version
v14.17.6
Command-line arguments
testcafe chrome azure.js
Browser name(s) and version(s)
Chrome 101.0.4951.54 / Windows 10
Platform(s) and version(s)
Windows
Other
No response
The text was updated successfully, but these errors were encountered: