我们可以在Safari浏览器和移动测试中与索司板的集成进行柏树测试吗?

发布于 2025-02-01 10:42:38 字数 271 浏览 5 评论 0原文

我的TestScript需要在移动设备和Safari浏览器中执行。借助柏树和酱汁实验室,我们可以使用柏树来实现移动测试和Safari浏览器。 目前,我在量角器中的测试脚本并运行所有浏览器,例如Safari和Mobile设备与酱油实验室的集成。(目前我们正在使用量角器+索氏片+jenkins运行脚本)

作为2022年底的量势,我们希望从protractor中迁移现有代码柏树。可以确认我们是否可以实现Safari浏览器,移动测试。Future我们想要运行(赛普拉斯+saucelabs+jenkins)。 请建议。

my testscripts need to executed in mobile devices and safari browser . with the cypress and sauce labs integration can we achieve mobile testing and safari browser using cypress ?.
currently my test scripts in protractor and running all browsers like safari and mobile devices with integration of sauce labs.(Currently we are running scripts with Protractor+Saucelabs+Jenkins)

As Protractor deprecated by end of 2022, we want to migrate existing code from protractor to cypress . Can some please confirm can we achieve safari browser,mobile testing.future we want to run(Cypress+Saucelabs+Jenkins).
Please suggest.

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

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

发布评论

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

评论(2

爱你是孤单的心事 2025-02-08 10:42:38

柏树目前不支持Safari,所以答案是否

Cypress doesn’t support Safari at the moment, so the answer is no

一身软味 2025-02-08 10:42:38

由于柏树V10.8,因此可以在Webkit(Safari中使用的浏览器引擎)中运行测试。当前,对WebKit的支持是实验性的,可以通过以下2个步骤来启用:

  1. SET 实验WebKitSupport trim> True在Cypress配置
  2. 安装playwright-webkit npm软件包

您可以在官方柏树中找到更多详细信息: https://www.cypress.io/blog/2022/09/13/cypress-10-8-yperment-10-8-exprienct-run-tests-in-tests-in-webkit/

Since Cypress v10.8, it is possible to run tests in WebKit (the browser engine used in Safari). Currently, the support for WebKit is experimental and can be enabled by following 2 steps:

  1. set experimentalWebKitSupport to true in the Cypress config
  2. install the playwright-webkit npm package

You can find more details in the official Cypress release: https://www.cypress.io/blog/2022/09/13/cypress-10-8-experimental-run-tests-in-webkit/

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