Adding globals

This commit is contained in:
Belen Curcio
2017-10-13 21:06:56 -03:00
parent 0dfff2ce53
commit 703fabf586
2 changed files with 15 additions and 3 deletions
+1 -3
View File
@@ -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,
+14
View File
@@ -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'
}
};