柏树从赛普拉斯开始时没有加载100%
我们的应用程序中有一个页面,您可以在其中提交简历并申请工作。 当页面在柏树外加载时,它可以正确地使用所有字段,但是当从柏树上加载时,它并未完全加载。 我尝试了等待,分辨率更改,没有任何作用。正如您在柏树图片中看到的那样,它仅显示前两个文本输入字段。我无法向下滚动,我无法滚动到视图中。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
设法有一个解决方案:将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')