我正在运行Codeceptjs和Docker的REST Helper进行API测试,但是当我运行它时,它仅显示所有已通过且执行时间始终为0ms
输出:
didbecomeactive
我的docker-compse文件:
PS D:\work\testtt> docker-compose run --rm codeceptjs
CodeceptJS directory has been found.
CodeceptJS v2.0.4
Using test root "/tests"
Test @regression --
✔ Add Scholarship For Application @kss3 in **0ms**
✔ Add Accommodations For Application @kss3 in **0ms**
✔ Add Airport Transfer For Application @kss3 in **0ms**
✔ Add Booking Others @kss3 in **0ms**
✔ Add Booking Insurance @kss3 in **0ms**
但是,如果我在没有docker的情况下运行,它将正常运行。
答案 0 :(得分:0)
在运行dockerized codeceptjs测试时,我遇到了类似但不相同的问题,通常该错误向我表明跑步者找不到grep @s。我可以在Kubernetes的硒模板上运行它来解决它-https://github.com/kubernetes/examples/tree/master/staging/selenium