'use strict';


module.exports = {
  'Smoketest'(browser) {
    browser
      .url(`${browser.launchUrl}/`)
      .waitForElementVisible('body', 1000)
      .assert.containsText('body', require('../package.json').name)
      .end();
  }
};

'use strict';

const path = require('path');
const packageJson = require(path.join(process.cwd(), 'package.json'));


module.exports = {
  'Smoketest'(browser) {
    browser
      .url(`${browser.launchUrl}/`)
      .waitForElementVisible('body', 1000)
      .assert.containsText('body', packageJson.name)
      .end();
  }
};

Fix Smoketest to pick up correct package.json