text: const { setHeadlessWhen } = require('@codeceptjs/configure');
  
  // turn on headless mode when running with HEADLESS=true environment variable
  // HEADLESS=true npx codecept run
  setHeadlessWhen(process.env.HEADLESS);
  
  exports.config = {
    tests: './tests/*_test.js',
    output: './output',
    helpers: {
      WebDriver: {
        url: 'localhost',
        browser: 'chrome'
      }
    },
    include: {
      I: './steps_file.js'
    },
    bootstrap: null,
    mocha: {},
    name: 'YelpApplication',
    plugins: {
      retryFailedStep: {
        enabled: true
      },
      screenshotOnFail: {
        enabled: true
      }
    }
  }