I am trying to do a simple integration test and I started from the integration example on the ember-cli website. Right now when I test in a browser (localhost:4200/tests), the follow case routes to where I expect, but then it just hangs and never does success or failure.
import Ember from "ember";
import { test } from 'ember-qunit';
import startApp from '../helpers/start-app';
var App;
module('Integration - Create Event', {
setup: function() {
App = startApp();
},
teardown: function() {
Ember.run(App, App.destroy);
}
});
test('check customers', function() {
visit('/new');
andThen(function() {
fillIn('input#title', 'The Event Name');
ok(true);
// equal(find('.customers input[type="checkbox"]').length, 6, 'Customer checkboxes showing');
});
});
Is there something I am doing wrong here? Or is there a different way to do it?
ember-cli 0.1.5 and ember 1.9.1
Aucun commentaire:
Enregistrer un commentaire