Updating usernames and passwords to new standards.

This commit is contained in:
David Jay
2017-01-18 12:43:09 -05:00
parent b59512d2b8
commit 074630e628
4 changed files with 8 additions and 10 deletions
+1 -1
View File
@@ -10,6 +10,6 @@ selenium-standalone install
./bin/cli-users create --flag_mode --email "moderator@test.com" --password "testtest" --name "ModeratorTestUser" --role "moderator"
# Creating Commenter Test User
./bin/cli-users create --flag_mode --email "commenter@test.com" --password "testtest" --name "commenter@test.com"
./bin/cli-users create --flag_mode --email "commenter@test.com" --password "testtest" --name "CommenterTestUser"
./bin/cli -c .env-e2e serve --jobs &
+3 -3
View File
@@ -4,15 +4,15 @@ module.exports = {
users: {
admin: {
email: 'admin@test.com',
pass: 'test'
pass: 'testtest'
},
moderator: {
email: 'moderator@test.com',
pass: 'test'
pass: 'testtest'
},
commenter: {
email: 'commenter@test.com',
pass: 'test'
pass: 'testtest'
}
},
};
+2 -2
View File
@@ -5,8 +5,8 @@ const mockComment = 'This is a test comment.';
const mockReply = 'This is a test reply';
const mockUser = {
email: `${new Date().getTime()}@test.com`,
name: 'Test User',
pw: 'testtesttest'
name: 'testuser',
pw: 'testtest'
};
module.exports = {
+2 -4
View File
@@ -1,5 +1,3 @@
const uuid = require('uuid');
module.exports = {
'@tags': ['signup', 'visitor'],
before: client => {
@@ -14,8 +12,8 @@ module.exports = {
embedStreamPage
.signUp({
email: `visitor_${uuid.v4()}@test.com`,
displayName: 'Visitor',
email: `visitor_${Date.now()}@test.com`,
displayName: 'visitor',
pass: 'testtest'
});
},