test: Setup UI test using BDD approach (#152)

This commit is contained in:
Amrita
2024-10-17 20:18:31 +02:00
committed by GitHub
parent 7f4bc1bb62
commit 4efc3be8d5
7 changed files with 131 additions and 1 deletions
+19
View File
@@ -0,0 +1,19 @@
const path = require('path');
const LAUNCH_URL = process.env.LAUNCH_URL || 'http://localhost:3000';
module.exports = {
page_objects_path: path.join(__dirname, 'tests' , 'acceptance', 'pageObjects'),
test_settings: {
default: {
launch_url: LAUNCH_URL,
selenium: {
start_process: false,
host: 'localhost',
port: 4444,
},
desiredCapabilities: {
browserName: 'chrome',
},
},
},
};