柏树从赛普拉斯开始时没有加载100%

发布于 2025-02-09 03:50:58 字数 489 浏览 2 评论 0原文

我们的应用程序中有一个页面,您可以在其中提交简历并申请工作。 当页面在柏树外加载时,它可以正确地使用所有字段,但是当从柏树上加载时,它并未完全加载。 我尝试了等待,分辨率更改,没有任何作用。正如您在柏树图片中看到的那样,它仅显示前两个文本输入字段。我无法向下滚动,我无法滚动到视图中。

“正常页面”

We have a page in our application where you can submit your cv's and apply for a job.
When the page is loaded outside cypress, it renders correctly with all the fields but when loaded from cypress, it is not loaded fully.
I tried with waits, with resolution changes, nothing works. As you can see in the cypress picture, it only displays the first 2 text input fields. I cannot scroll down, i cannot scroll into view.

Cypress Page

Normal Page

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

゛清羽墨安 2025-02-16 03:50:58

设法有一个解决方案:将iframe包装到一个元素中,然后与内部的元素交互:

cy.get('#iframeresizer0')。它('0.contentDocument.body')。然后(cy.wrap) .find('#inputFirstName')

Managed to have a solution: wrap the iframe into an element and then interacting with the elements inside:

cy.get('#iFrameResizer0').its('0.contentDocument.body').then(cy.wrap).find('#inputFirstName')

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文