Skip to content

Commit

Permalink
feat: deprecate wdi5.url
Browse files Browse the repository at this point in the history
  • Loading branch information
vobu committed Nov 23, 2022
1 parent 229617f commit f915d3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions templates/wdio.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ exports.config = {
screenshotPath: "webapp/test/__screenshots__",
screenshotsDisabled: false, // [optional] {boolean}, default: false; if set to true, screenshots won't be taken and not written to file system
logLevel: "error", // [optional] error | verbose | silent, default: "error"
url: "index.html", // [mandatory] {string} name of your bootstrap html file. If your server autoredirects to a 'domain:port/'-like root url, use empty string ''
skipInjectUI5OnStart: false, // [optional] {boolean}, default: false; true when UI5 is not on the start page, you need to later call <wdioUI5service>.injectUI5() manually
waitForUI5Timeout: 15000 // [optional] {number}, default: 15000; maximum waiting time in milliseconds while checking for UI5 availability
},
Expand Down Expand Up @@ -109,7 +108,7 @@ exports.config = {
// with `/`, the base url gets prepended, not including the path portion of your baseUrl.
// If your `url` parameter starts without a scheme or `/` (like `some/path`), the base url
// gets prepended directly.
baseUrl: "http://localhost:8080",
baseUrl: "http://localhost:8080/index.html",
//
// Default timeout for all waitFor* commands.
waitforTimeout: 10000,
Expand Down
3 changes: 1 addition & 2 deletions templates/wdio.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ export const config: wdi5Config = {
screenshotPath: "__screenshots__",
screenshotsDisabled: false, // [optional] {boolean}, default: false; if set to true, screenshots won't be taken and not written to file system
logLevel: "error", // [optional] error | verbose | silent, default: "error"
url: "index.html", // [mandatory] {string} name of your bootstrap html file. If your server autoredirects to a 'domain:port/'-like root url, use empty string ''
skipInjectUI5OnStart: false, // [optional] {boolean}, default: false; true when UI5 is not on the start page, you need to later call <wdioUI5service>.injectUI5() manually
waitForUI5Timeout: 15000 // [optional] {number}, default: 15000; maximum waiting time in milliseconds while checking for UI5 availability
},
Expand Down Expand Up @@ -137,7 +136,7 @@ export const config: wdi5Config = {
// with `/`, the base url gets prepended, not including the path portion of your baseUrl.
// If your `url` parameter starts without a scheme or `/` (like `some/path`), the base url
// gets prepended directly.
baseUrl: "http://localhost:8080/",
baseUrl: "http://localhost:8080/index.html",
//
// Default timeout for all waitFor* commands.
waitforTimeout: 10000,
Expand Down

0 comments on commit f915d3c

Please sign in to comment.