Created
March 16, 2016 15:31
-
-
Save Mariusio/7901bb96fbeb9fb55455 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint no-undef: "off" */ | |
import { test } from 'qunit'; | |
import moduleForAcceptance from 'zenline-frontend/tests/helpers/module-for-acceptance'; | |
moduleForAcceptance('Acceptance | login logout'); | |
/* | |
Checks if a user can login and logout | |
*/ | |
Ember.run(() => { | |
test('can login', (assert) => { | |
visit('/login'); | |
fillIn('input.input-email', '[email protected]'); | |
fillIn('input.input-password', 'password'); | |
click('button.btn-login-submit'); | |
// andThen(() => assert.equal(currentUrl(), '/dashboards')); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment