Help Test Rocket.Chat

Requirements

    Google Chrome Browser

Getting Started

Start Meteor

Run meteor with the command below:
1
TEST_MODE=true meteor
Copied!
To run the tests, the server must be started with the environment variable TEST_MODE=true. This will set all animations' duration to 0 and create an extra admin user with the login values:
1
_id: "rocketchat.internal.admin.test"
2
name: "RocketChat Internal Admin Test"
3
username: "rocketchat.internal.admin.test"
5
password: "rocketchat.internal.admin.test"
Copied!

Run Tests

On another terminal window, run the test with the command bellow:
1
meteor npm run test
Copied!
Last modified 6mo ago