mirror of
https://github.com/wassname/talk.git
synced 2026-06-29 01:44:26 +08:00
298e1e8d73
- 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
16 lines
523 B
Bash
Executable File
16 lines
523 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# install selenium
|
|
selenium-standalone install
|
|
|
|
# Creating Admin Test User
|
|
./bin/cli-users create --flag_mode --email "admin@test.com" --password "test" --name "Admin Test User" --role "admin"
|
|
|
|
# Creating Moderator Test User
|
|
./bin/cli-users create --flag_mode --email "moderator@test.com" --password "test" --name "Moderator Test User" --role "moderator"
|
|
|
|
# Creating Commenter Test User
|
|
./bin/cli-users create --flag_mode --email "commenter@test.com" --password "test" --name "commenter@test.com"
|
|
|
|
npm start &
|