Codeception:替代`pauseExecution()`? (不再工作了)

问题描述 投票:0回答:1

在Codeception WebDriver(即验收测试)中,升级到Codeception 2.6后,它不再起作用:

$I->pauseExecution();

还有其他选择吗?

Codeception 2.5的文档:https://github.com/Codeception/Codeception/blob/2.5/docs/modules/WebDriver.md#pauseexecution

php codeception
1个回答
0
投票

pauseExecution()在此提交中被删除,以支持Codeception 2.6中的新pause()函数:https://github.com/Codeception/Codeception/commit/edd78659800918118b1a647b0a61977b42160af9#diff-b69c529efcc6368b5c564f8b36665a22

[pause()具有交互式控制台,请参见https://codeception.com/04-24-2019/codeception-3.0.html

© www.soinside.com 2019 - 2024. All rights reserved.