Skip to content
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

Dynamically-created iframe not loading properly in Firefox #7991

Closed
drrnkin opened this issue Aug 31, 2023 · 5 comments
Closed

Dynamically-created iframe not loading properly in Firefox #7991

drrnkin opened this issue Aug 31, 2023 · 5 comments
Labels
BROWSER: Firefox FREQUENCY: level 1 STATE: Stale An outdated issue that will be automatically closed by the Stale bot. TYPE: bug The described behavior is considered as wrong (bug).

Comments

@drrnkin
Copy link

drrnkin commented Aug 31, 2023

What is your Scenario?

A test loads a page that dynamically inserts an iframe. element and loads that content. The iframe fails to load.

What is the Current behavior?

In Firefox, the iframe does not load at all (in any version of TestCafe that I have tried; 1.x, 2.x, 3.x).

Note that there's an error about querySelectorAll in the console. In the provided sample, the main.ts file simply imports Highcharts (a popular charting library: https://www.highcharts.com/) and that's enough to cause the issue. I don't have the source so I can't whittle it down further.

What is the Expected behavior?

Simple test at https://github.com/drrnkin/testcafe-iframe should pass. The test should detect the content in the iframe that is dynamically created by a script in the iframe. The test does not pass in Firefox in any version of TestCafe.

Expected: test should pass in Firefox and all other supported browsers.

What is your public website URL? (or attach your complete example)

https://github.com/drrnkin/testcafe-iframe

What is your TestCafe test code?

See provided repo

Your complete configuration file

See provided repo

Your complete test report

No response

Screenshots

No response

Steps to Reproduce

  1. Clone the repo https://github.com/drrnkin/testcafe-iframe
  2. yarn
  3. yarn build
  4. yarn test-firefox

TestCafe version

3.3.0

Node.js version

v16.20.2

Command-line arguments

See Steps to Reproduce

Browser name(s) and version(s)

Firefox 116.0.3 (currently latest

Platform(s) and version(s)

Windows 10

Other

Split from #7983 . This one is specific to Firefox.

@drrnkin drrnkin added the TYPE: bug The described behavior is considered as wrong (bug). label Aug 31, 2023
@need-response-app need-response-app bot added the STATE: Need response An issue that requires a response or attention from the team. label Aug 31, 2023
@AlexKamaev AlexKamaev added the STATE: Issue accepted An issue has been reproduced. label Sep 1, 2023
@github-actions
Copy link

github-actions bot commented Sep 1, 2023

We appreciate you taking the time to share the information about this issue. We replicated it, and it is currently in our internal queue. Please note that the research may take time. We'll update this thread once we have news.

@github-actions github-actions bot removed STATE: Need response An issue that requires a response or attention from the team. STATE: Issue accepted An issue has been reproduced. labels Sep 1, 2023
Copy link

This issue has been automatically marked as stale because it has not had any activity for a long period. It will be closed and archived if no further activity occurs. However, we may return to this issue in the future. If it still affects you or you have any additional information regarding it, please leave a comment and we will keep it open.

@github-actions github-actions bot added the STATE: Stale An outdated issue that will be automatically closed by the Stale bot. label Mar 16, 2024
@drrnkin
Copy link
Author

drrnkin commented Mar 16, 2024

Commenting to remove stale state

@need-response-app need-response-app bot added the STATE: Need response An issue that requires a response or attention from the team. label Mar 16, 2024
@github-actions github-actions bot removed the STATE: Stale An outdated issue that will be automatically closed by the Stale bot. label Mar 17, 2024
@PavelMor25 PavelMor25 removed the STATE: Need response An issue that requires a response or attention from the team. label Mar 18, 2024
Copy link

This issue has been automatically marked as stale because it has not had any activity for a long period. It will be closed and archived if no further activity occurs. However, we may return to this issue in the future. If it still affects you or you have any additional information regarding it, please leave a comment and we will keep it open.

@github-actions github-actions bot added the STATE: Stale An outdated issue that will be automatically closed by the Stale bot. label Sep 15, 2024
Copy link

We're closing this issue after a prolonged period of inactivity. If it still affects you, please add a comment to this issue with up-to-date information. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BROWSER: Firefox FREQUENCY: level 1 STATE: Stale An outdated issue that will be automatically closed by the Stale bot. TYPE: bug The described behavior is considered as wrong (bug).
Projects
None yet
Development

No branches or pull requests

3 participants