Add API monorepo

Change-Id: I39aa1707744bb86c4bc9113157bbf815bb3fe33a
This commit is contained in:
Roman Jaroš 2023-09-10 21:24:57 +02:00
parent b87cff043a
commit 5246efb027
56 changed files with 251 additions and 22 deletions

41
source/ui/nightwatch.js Normal file
View file

@ -0,0 +1,41 @@
/** @type {import('nightwatch').NightwatchOptions} */
module.exports = {
src_folders: 'tests/.nightwatchjs/src',
output_folder: 'tests/.nightwatchjs/output',
page_objects_path: ['tests/.nightwatchjs/objects'],
custom_commands_path: 'tests/.nightwatchjs/commands',
use_xpath: true,
end_session_on_fail: true,
start_process: false,
test_settings: {
localhost: {
launch_url: '',
selenium_port: 4444,
selenium_host: '10.2.0.4',
screenshots: {
enabled: true,
on_failure: true,
on_error: true,
path: 'tests/.nightwatchjs/output',
},
desiredCapabilities: {
browserName: 'chrome',
chromeOptions: {
args: ['no-sandbox'],
},
},
},
ci: {
launch_url: '',
selenium_port: 4444,
selenium_host: '10.0.1.21',
desiredCapabilities: {
browserName: 'chrome',
chromeOptions: {
args: ['headless', 'no-sandbox'],
},
},
},
},
};