Socket
Socket
Sign inDemoInstall

ember-ombu

Package Overview
Dependencies
191
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ember-ombu

Model really simple page objects


Version published
Weekly downloads
2
increased by100%
Maintainers
1
Install size
20.2 MB
Created
Weekly downloads
 

Readme

Source

ember-ombu

Build Status Latest version

Really simple page objects for your acceptance tests

Installation

ember install ember-ombu

Synopsis

import Ombu from 'ember-ombu';

var page = Ombu.create({
  visit: '/login',

  login: {
    scope: 'form',

    userName: ':text',
    password: ':password',

    submit: ':submit'
  },


  message: '.message'
});

test('can log-in', function(assert) {
  visit(page); // => visit('/login');

  fillIn(page.login.userName, 'santiago'); // => fillIn('form :text', 'santiago')
  fillIn(page.login.password, 'secret'); // => fillIn('form :password', 'secret')

  click(page.login.submit); // => click('form :submit')

  andThen(function() {
    assert.equal(find(page.message).text(), 'Log-in successful!');
    // => find('.message').text()
  });
});

See Ombu for more information.

Project's health

Build Status

License

Ombu is licensed under the MIT license.

See LICENSE.md for the full license text.

Keywords

FAQs

Last updated on 03 May 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc