Skip to content

REPL fails with using Allure plugin #1414

@tsuemura

Description

@tsuemura

What are you trying to achieve?

What do you get instead?

Provide console output if related. Use --verbose mode for more details.

$ npm run repl

> codeceptjs-sample@1.0.0 repl /home/suemura/Work/codeceptjs-sample
> codeceptjs shell

2019-01-07T03:35:57.841Z DEBUG wdio-config: wdio-sync not found, running tests asynchronous
String interactive shell for current suite...
 Interactive shell started
 Use JavaScript syntax to try steps in action
 - Press ENTER to run the next step
 - Press TAB twice to see all available commands
 - Type exit + Enter to exit the interactive shell

 I.amOnPage('/')

allure-js-commons: Unexpected startStep() of I am on page "/". There is no parent step
allure-js-commons: Unexpected endStep(). There are no any steps running
 FAIL  Cannot read property 'url' of undefined

Provide test source code if related

nothing

Details

  • CodeceptJS version: 2.0.2
  • NodeJS Version: v10.14.2
  • Operating System: Ubuntu 18.04
  • WebDriverIO version: 5.2.2
  • Configuration file:
require('dotenv').config()

exports.config = {
  output: './output',
  helpers: {
    REST: {
      endpoint: process.env.API_ENDPOINT,
      timeout: 30000,
    },
    WebDriver: {
      url: process.env.BASE_URL,
      browser: 'chrome',
      smartWait: 5000,
      waitForTimeout: 30000
    },
    FetchMail: {
      require: './helpers/fetchmail_helper.js'
    },
    WebDriverHelper: {
      require: './helpers/webdriver.js'
    },
    Ssh: {
      require: './helpers/ssh.js'
    }
  },
  include: {
    I: './steps/actor.js',
    itemPage: './pages/item.js'
  },
  mocha: {},
  bootstrap: null,
  teardown: null,
  hooks: [],
  gherkin: {},
  plugins: {
    screenshotOnFail: {
      enabled: true
    },
    allure: {
      enabled: true
    },
  },
  tests: './specs/*.js',
  name: 'codeceptjs-sample'
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions