mirror of
https://github.com/wassname/talk.git
synced 2026-07-17 11:33:39 +08:00
Creating the test users before de e2e
This commit is contained in:
+11
-2
@@ -1,7 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
# install selenium
|
||||
../node_modules/selenium-standalone/bin/selenium-standalone install
|
||||
# ../node_modules/selenium-standalone/bin/selenium-standalone install
|
||||
|
||||
# Creating Admin Test User
|
||||
{ echo admin@test.com; echo test; echo test; echo Admin Test User; echo admin;} | dotenv ./bin/cli-users create
|
||||
|
||||
# Creating Moderator Test User
|
||||
{ echo moderator@test.com; echo test; echo test; echo Moderator Test User; echo moderator;} | dotenv ./bin/cli-users create
|
||||
|
||||
# Creating Commenter Test User
|
||||
{ echo test@test.com; echo test; echo test; echo Commenter Test User; echo '';} | dotenv ./bin/cli-users create
|
||||
|
||||
# start the app server
|
||||
npm start &
|
||||
# npm start &
|
||||
|
||||
Reference in New Issue
Block a user