//zoneAdmin_config.js var today = new Date(); var mm = today.getMonth()+1; //January is 0 var dd = today.getDate(); var yyyy = today.getFullYear(); var hour = today.getHours(); var minute = today.getMinutes(); exports.config = { framework: 'jasmine', seleniumAddress: 'http://localhost:4444/wd/hub', specs: ['zoneAdmin_spec.js'], jasmineNodeOpts: { defaultTimeoutInterval: 360000 }, capabilities: { browserName: 'chrome' }, onPrepare: function() { browser.sleep(2500); browser.driver.manage().window().maximize(); }, params: { login: 'https://app-qa.journeysmap.com/Journey/index.html#/login', nonAngularURL: 'https://app-qa.journeysmap.com/UI/Zone/Admin', username: 'jhmanager19', password: 'Manager007', school: 'Automated School ' + mm + dd + yyyy + hour + minute, teacher: 'Automated' + mm + dd + yyyy + hour + minute, email: 'Automated' + mm + dd + yyyy + hour + minute, class: 'Automated Class ' + mm + dd + yyyy + hour + minute, student: 'Automated' + mm + dd + yyyy + hour + minute, simulation: 'Automated Simulation ' + mm + dd + yyyy + hour + minute, simulationStartEndDate: '01/08/2021', simulationStartDateTime: yyyy + '-0' + mm + '-0' + dd + 'T08:00:00.000', simulationEndDateTime: yyyy + '-0' + mm + '-0' + dd + 'T22:00:00.000' } /*multiCapabilities: [{ browserName: 'chrome' }, { browserName: 'firefox' }]/*, { browserName: 'internet explorer' }], { browserName: 'safari' }]*/ }