使用testcafe测试Facebook登录

huangapple go评论50阅读模式
英文:

Testing Facebook Login using testcafe

问题

我目前在使用TestCafe运行e2e测试时遇到了Facebook登录应用的问题。该应用已经正确配置,常规登录没有任何问题。然而,当TestCafe尝试使用Facebook登录的功能链接时,它会抛出如下所示的错误:
图片链接

我想知道在自动化测试中使用Facebook登录是否有任何限制或限制。是否可能是应用程序的配置存在问题导致了这个问题?

我已经将testcafe升级到最新版本,将Facebook API版本升级到17,并尝试了不同的浏览器。

英文:

I'm currently encountering an issue with the Facebook Login app while running e2e tests using TestCafe. The app has been properly configured, and regular logins work without any problems. However, when TestCafe attempts to use the functioning link for Facebook Login, it throws an error as shown in this screenshot:
image here

I'm wondering if there are any limitations or restrictions for using Facebook Login within automation tests. Could there be a problem with the app's configuration that's causing this issue?

I have updated testcafe to lastest version, updated facebook api version to 17, tried different browsers.

答案1

得分: 1

这个问题可能是由于需要使用HTTPS引起的。您可以尝试以下方式来解决:

英文:

This issue may be caused by necessity of using HTTPS. You can try one of the following ways to fix that:

huangapple
  • 本文由 发表于 2023年5月29日 20:33:59
  • 转载请务必保留本文链接:https://go.coder-hub.com/76357420.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定