lundi 22 mai 2017

Calling visit() in acceptance test Ember 2.8.0 times out

I have a simple acceptance script below which only checks for the currentURL. However whenever I run the test it only gives me timeout.

import { test } from 'qunit';
import moduleForAcceptance from 'rates-ui/tests/helpers/module-for-acceptance';

moduleForAcceptance('Acceptance | filter panel');

test('visiting /', function(assert) {
  visit('/');
  andThen(function() {
    assert.equal(currentURL(), '/');
  });
  // assert.ok('ok', 'ok');
});




Aucun commentaire:

Enregistrer un commentaire