nightwatchcss icon indicating copy to clipboard operation
nightwatchcss copied to clipboard

Nothing happening

Open straris opened this issue 8 years ago • 0 comments

var nightwatchcss = require('nightwatchcss');

module.exports = {
  before: function (browser) {
  },

  after: function (browser) {
    console.log('Wrapping up...');
    browser.end();
  },
  "Init nightwatchcss": function (browser) {
    nightwatchcss.init(browser, {
      screenshotRoot: 'screenCompare/webdrivecssExpected',
      failedComparisonsRoot: 'screenCompare/diffs',
    });
  },

  'Screen comparison': function (browser) {
    browser
      .url('http://eyeem.com')
      .resizeWindow(1400, 4000)
      .useCss().waitForElementVisible(uiElements.topNavBar.logo)
      .webdrivercss('hoho', {
        elem: 'body',
      }, function (err, res) {
        console.log('assert nothing');
      })
      .pause(5000);
  }
};

Nothing happens, the folders are created but they are empty. Also the console message doesn't show up.

straris avatar Jun 21 '17 11:06 straris