@sap_oss/wdio-qmate-service
Version:
[](https://api.reuse.software/info/github.com/SAP/wdio-qmate-service)[](http
48 lines (40 loc) • 1.4 kB
JavaScript
var path = require("path");
var merge = require("deepmerge");
var chromeConfig = require("../../helper/configurations/chrome.headless.conf.js");
exports.config = merge(chromeConfig.config, {
params: {
import: { // Directory path
myFolder1: "./data/my/folder/data/qs9",
myFolder2: "data/another/folder/data/anotherFolder",
myMissingFolder: "./data/my/folder/missing",
// File path (Best Practice should be the same as the script) .....
yourPrefixSpecName: "./data/my/folder/data/qs9/data.json",
missingFile: "./data/my/folder/missingFile.json",
invalidJsonFile: "./data/my/folder/invalid.json",
uiUser: "./data/my/folder/data/qs9/webUser.json",
emptyObject: "./data/my/folder/data/qs9/empty.json"
},
},
baseUrl: "https://openui5.hana.ondemand.com/",
specs: [
path.resolve(__dirname, "specs/import.spec.js")
],
// Patterns to exclude.
exclude: [
// 'path/to/excluded/files'
],
//
// The number of times to retry the entire specfile when it fails as a whole
//specFileRetries: 1,
//
// Test reporter for stdout.
// The only one supported by default is 'dot'
// see also: https://webdriver.io/docs/dot-reporter.html
reporters: ["spec"],
//
// Options to be passed to Mocha.
// See the full list at http://mochajs.org/
mochaOpts: {
timeout: 2000000,
},
});