CodeceptJS、BDD、PageObjects、输出中列出的步骤

CodeceptJS, BDD, PageObjects, steps listed in output

我目前正在评估 CodeceptJS 作为我们沉重的 Java/Selenium/Cucumber 堆栈的替代品。我是这样组织项目的:

当我 运行 示例项目时,我得到如下输出:

USER REGISTRATION --
  As someone who is not a member
  I would like the ability to sign up
  So that I can enjoy the benefits of Widget XYZ's services
  Register account from the signed out homepage
    Given I open the homepage 
      signedOutHomePage: open 
  ✔ OK in 3230ms

以上测试使用:

执行
npx codeceptjs run --steps

是否可以抑制页面对象的输出(即不显示行 signedOutHomePage: open)?

更新(另一个问题):如果我使用 BDD,我是否应该使用 PageObjects?

似乎只要使用 --steps 标志,就会列出步骤定义中的任何方法调用。没有 --steps 标志,仅显示 Scenario 标题。看起来没有办法解决这个问题。我将向 CodeceptJS 团队创建功能请求。