mirror of
https://github.com/wassname/talk.git
synced 2026-06-30 11:10:10 +08:00
Adding globals
This commit is contained in:
@@ -2,6 +2,7 @@ module.exports = {
|
||||
'src_folders': './test/e2e/specs/',
|
||||
'output_folder': './test/e2e/tests_output',
|
||||
'page_objects_path': './test/e2e/page_objects',
|
||||
'globals_path': './test/e2e/globals',
|
||||
'selenium': {
|
||||
'start_process': true,
|
||||
'server_path': 'node_modules/selenium-standalone/.selenium/selenium-server/3.5.3-server.jar',
|
||||
@@ -27,9 +28,6 @@ module.exports = {
|
||||
'applicationCacheEnabled': false,
|
||||
'nativeEvents': true
|
||||
},
|
||||
'globals': {
|
||||
'waitForConditionTimeout': 5000,
|
||||
},
|
||||
'screenshots' : {
|
||||
'enabled': true,
|
||||
'on_failure': true,
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
const uuid = require('uuid');
|
||||
const {murmur3} = require('murmurhash-js');
|
||||
const rHash = murmur3(uuid.v4());
|
||||
|
||||
module.exports = {
|
||||
waitForConditionTimeout: 5000,
|
||||
testData: {
|
||||
organizationName: 'Coral',
|
||||
email: `test_${rHash}@test.test`,
|
||||
username: `test${rHash}`,
|
||||
password: `testpassword${rHash}`,
|
||||
domain: 'http://localhost:3000'
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user