如何使用 Serenity/Js 进行 Protractor-Jasmine 框架测试。 serentiy是否支持protractor jasmine框架

how to use Serenity/Js for protractor-Jasmine framework tests. Does serentiy support protractor jasmine framework

我想为使用量角器-jsamine 框架构建的测试集成宁静报告。所做的所有探索仅显示了 serenity 与量角器-黄瓜框架集成的结果。下面是我的配置文件示例。我应该添加什么以与 Serenity 报告集成。目前我正在使用茉莉花记者。

   config = {
      framework: 'jasmine2',
      seleniumAddress: 'http://localhost:4444/wd/hub',
      specs: ['specs7.js'],
      jasmineNodeOpts: {
      defaultTimeoutInterval: 50000,
      }
    capabilities: {
    'browserName': 'firefox'},

     onPrepare: function() {

     jasmine.getEnv().addReporter(reporter);

     }
     }

Serenity/JS 不支持 Jasmine 测试运行器(目前)。 但是,它 supports Mocha,是 Jasmine 的绝佳替代品。