mirror of
https://github.com/wassname/talk.git
synced 2026-08-10 12:41:02 +08:00
Updates to user cli + e2e + tests
- Updates to before + beforeEach for mongooose - Removed reference to dotenv from cli in e2e, should use NODE_ENV=test instead. - Changed test port from 30?? to 3000 to be consistent with what nightwatch was expecting
This commit is contained in:
+3
-3
@@ -4,12 +4,12 @@
|
||||
selenium-standalone install
|
||||
|
||||
# Creating Admin Test User
|
||||
{ echo admin@test.com; echo test; echo test; echo Admin Test User; echo admin;} | ./bin/cli-users create
|
||||
./bin/cli-users create --flag_mode --email "admin@test.com" --password "test" --name "Admin Test User" --role "admin"
|
||||
|
||||
# Creating Moderator Test User
|
||||
{ echo moderator@test.com; echo test; echo test; echo Moderator Test User; echo moderator;} | ./bin/cli-users create
|
||||
./bin/cli-users create --flag_mode --email "moderator@test.com" --password "test" --name "Moderator Test User" --role "moderator"
|
||||
|
||||
# Creating Commenter Test User
|
||||
{ echo commenter@test.com; echo test; echo test; echo Commenter Test User; echo ;} | ./bin/cli-users create
|
||||
./bin/cli-users create --flag_mode --email "commenter@test.com" --password "test" --name "commenter@test.com"
|
||||
|
||||
npm start &
|
||||
|
||||
Reference in New Issue
Block a user