mirror of
https://github.com/wassname/talk.git
synced 2026-07-17 11:33:39 +08:00
Updating usernames and passwords to new standards.
This commit is contained in:
+1
-1
@@ -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 &
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -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'
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user