- 编剧版本:[v1.38.0]
- 操作系统:Docker 镜像
mcr.microsoft.com/playwright:v1.38.0-jammy
- 浏览器:[WebKit]
- 其他信息:该图像在 Circle-ci 上运行。相同的图像在 firefox 和 chrome 浏览器中没有问题。我们在本地运行相同的代码没有任何问题。
存在类似的问题并已关闭:https://github.com/microsoft/playwright/issues/26653 此问题应在 Playwright 1.38.0 中修复,但我们仍然有它,但仅限于 safari 浏览器。
如果您克隆存储库,则本地不应出现任何错误,您可以通过运行以下命令进行测试:
$ make bootstrap
$ make e2e
您还可以通过以下链接在circle-ci上检查结果:https://app.circleci.com/pipelines/github/openfun/marsha/14253/workflows/28f88761-d423-43c1-b4c1-4702c879a09f/jobs/421630
libsoup 2 和 3 确实都安装在该映像中:
$ docker run --rm -it mcr.microsoft.com/playwright:v1.38.0-jammy /bin/bash -c "dpkg -l | grep libsoup"
ii libsoup-3.0-0:amd64 3.0.7-0ubuntu1 amd64 HTTP library implementation in C -- Shared library
ii libsoup-3.0-common 3.0.7-0ubuntu1 all HTTP library implementation in C -- Common files
ii libsoup2.4-1:amd64 2.74.2-3 amd64 HTTP library implementation in C -- Shared library
ii libsoup2.4-common 2.74.2-3 all HTTP library implementation in C -- Common files
如果libsoup2
删除(仅用于测试),它还会删除似乎由 webkit 使用的 gstreamer 插件。
链接到带有重现的 GitHub 存储库
此提交是此 PR 的一部分:https://github.com/openfun/marsha/pull/2433
预期的
测试套件运行 libsoup 时应该没有问题。 Libsoup 兼容性问题已在 1.38.0 版本中修复,并且在 Firefox 和 Chrome 浏览器中没有此问题。