【问题标题】:Codeception Recorder is disabled, no available modulesCodeception Recorder 被禁用,没有可用的模块
【发布时间】:2023-04-01 19:50:01
【问题描述】:

为了记录我的测试,我使用这个命令运行 codeception

codecept --ext Recorder

但是我无法录制任何内容。有人看到我做错了吗?

Codeception Recorder is disabled, no available modules:

gravityflow/codeception.dist.yml

gravityflow/plugin/tests/acceptance-tests/acceptance.suite.yml:

【问题讨论】:

    标签: php codeception


    【解决方案1】:

    您正在使用 WordPress 模块,WPWebDriver。您需要告诉 recorder 它处于活动状态。把它放在你的主 codeception.yml 文件中:

    extensions:
        enabled:
            - Codeception\Extension\RunFailed
            - Codeception\Extension\Recorder
        config:
            Codeception\Extension\Recorder:
                delete_successful: false
                module: WPWebDriver
    

    【讨论】:

      猜你喜欢
      • 2017-02-28
      • 1970-01-01
      • 2016-03-04
      • 1970-01-01
      • 2016-08-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多