DevExpress / testcafe

A Node.js tool to automate end-to-end web testing.
https://testcafe.io
MIT License
9.83k stars 673 forks source link

Fixing native automation iframe bugs #8332

Closed matt-kxs closed 2 weeks ago

matt-kxs commented 3 weeks ago

What is your Scenario?

Official documentation lists the following:

https://testcafe.io/documentation/404237/guides/intermediate-guides/native-automation-mode#q-what-are-the-limitations-of-native-automation

TestCafe hangs when it accesses iframes in local HTML files. TestCafe cannot interact with iframes that the document.write method injects into the page.

What are you suggesting?

These issues are blocking us from switching to native automation and have remained broken for a long time. Is it possible to link these problems (and possibly others) to actual bug reports so it's easier to track the progress being made?

What alternatives have you considered?

No response

Additional context

No response

github-actions[bot] commented 2 weeks ago

Thank you for submitting a bug report. We would love to help you investigate the issue. Please share a simple code example that reliably reproduces the bug. For more information, read the following article: How To Create a Minimal Working Example When You Submit an Issue. We look forward to your response.

matt-kxs commented 2 weeks ago

@Bayheck, please ignore the bot - nothing to share here I'm just hoping for a process change where you link known bugs to the documentation so we can track progress. Thank you!

Bayheck commented 2 weeks ago

Hello! All known bugs—that is, issues reported by users—are stored in the repository’s "Issues" tab. We prioritize and address these issues based on their urgency and severity.

At this time, we cannot provide an exact ETA for fixes, as predicting timelines can be challenging and may vary. For now, the best way to track the status of any specific issue is by selecting the "Issues" tab directly.

Thank you for your understanding and patience!

If you have a particular issue to report, please create a separate ticket using this template and also share a Minimal Working Example in that ticket so that the TestCafe team can research the issue and assist you.

matt-kxs commented 2 weeks ago

@Bayheck There are no open issues about iframes though so either the documentation is wrong or a bug was never logged by the testcafe team. This means the official docs is misleading users into thinking the iframe bugs are being worked on when they're not.

Bayheck commented 1 week ago

Hello, Could please try running your tests with TestCafe v3.7.0?

If you encounter an issue, please create a separate ticket using this template. We will analyze the issue and if it persists, we will also update our documentation.

The reason why there was no link between bugs and actual reports is that those scenarios were synthetic (no user reported it). Thanks for your understanding.