mirror of
https://github.com/documize/community.git
synced 2025-08-08 06:55:28 +02:00
Add user login helper
This commit is contained in:
parent
06d21f20c8
commit
a46beecdf5
1 changed files with 9 additions and 0 deletions
9
app/tests/helpers/user-login.js
Normal file
9
app/tests/helpers/user-login.js
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
import Ember from 'ember';
|
||||||
|
|
||||||
|
export default Ember.Test.registerAsyncHelper('userLogin', function(app) {
|
||||||
|
visit('/auth/login');
|
||||||
|
|
||||||
|
fillIn('#authEmail', 'brizdigital@gmail.com');
|
||||||
|
fillIn('#authPassword', 'zinyando123');
|
||||||
|
click('button');
|
||||||
|
});
|
Loading…
Add table
Add a link
Reference in a new issue