Mark Ember.js spec as pending
To mark Ember.js test as pending use Qunit.skip.
Qunit.skip is better than commenting the whole spec out. In Ember.js first import it from qunit node module and use the following way.
import { test, skip } from 'qunit';
//...
skip('visiting /auth/register valid data', function(assert) {
Before
// import moduleForAcceptance from 'my-app/tests/helpers/module-for-acceptance';
// import { test } from 'qunit';
//
// moduleForAcceptance('Acceptance | app.my-app.com | register', {
// beforeEach() {
// visit('/auth/register');
// },
// });
//
// test('visiting /auth/register valid data', function(assert) {
// fillIn('#inputOrganization', '2357');
// fillIn('#inputEmail', 'john@doe.com');
// fillIn('#inputName', 'John Doe');
// fillIn('#inputPassword', 'secret');
// fillIn('#inputPasswordConfirm', 'secret');
// click('#inputTerms');
// click('button[type="submit"]');
//
// andThen(function() {
// assert.contains('.alert-success', 'Your account has been registered and waiting for your confirmation.');
// });
// });
After
skip('visiting /auth/register valid data', function(assert) {
fillIn('#inputOrganization', '2357');
//...
});Written by Wojtek Ryrych
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Emberjs
Authors
Related Tags
#emberjs
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#