0.2.2 • Published 9 years ago

nemo-shared-objects v0.2.2

Weekly downloads
2
License
Apache 2
Repository
github
Last release
9 years ago

nemo-shared-objects

locators and actions for Nemo functional test framework

Usage

Add this to your package.json

"nemo-shared-objects": "~0.0.1"

Add any additional nemo-* plugins as directed by npm errors (if encountered)

Here is an example spec

/*global describe:true, it:true, before:true, after:true */
'use strict';

var nemoFactory = require('nemo-mocha-factory'),
  shared = require('nemo-shared-objects');
describe('Nemo @paypalSuite@', function() {
  nemoFactory({
    'plugins': shared.config.plugins,
    'setup': shared.config.setup
  });
  it('will @tryLoginWithInvalidCredentials@', function(done) {
    nemo.driver.get('https://www.paypal.com');
    shared.loginFlow(nemo).login(shared.userData.invalid, false).then(function() {
      console.log('failed login as expected');
      done();
    }, function(err) {
      done(err);
    });
  });
});
0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

10 years ago

0.0.11

10 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago