Skip to content

Commit

Permalink
(docs): update comment on path resolving - fixes #9495
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-bromann committed Dec 21, 2023
1 parent 3297741 commit 6a9a004
Show file tree
Hide file tree
Showing 18 changed files with 37 additions and 55 deletions.
5 changes: 2 additions & 3 deletions examples/pageobject/wdio.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ exports.config = {
// worker process. In order to have a group of spec files run in the same worker
// process simply enclose them in an array within the specs array.
//
// If you are calling `wdio` from an NPM script (see https://docs.npmjs.com/cli/run-script),
// then the current working directory is where your `package.json` resides, so `wdio`
// will be called from there.
// The path of the spec files will be resolved relative from the directory of
// of the config file unless it's absolute.
//
specs: [__dirname + '/specs/*.spec.js'],
//
Expand Down
5 changes: 2 additions & 3 deletions examples/wdio/vite-vue-example/wdio.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@ export const config: Options.Testrunner = {
// worker process. In order to have a group of spec files run in the same worker
// process simply enclose them in an array within the specs array.
//
// If you are calling `wdio` from an NPM script (see https://docs.npmjs.com/cli/run-script),
// then the current working directory is where your `package.json` resides, so `wdio`
// will be called from there.
// The path of the spec files will be resolved relative from the directory of
// of the config file unless it's absolute.
//
specs: [
'./src/**/*.test.ts'
Expand Down
5 changes: 2 additions & 3 deletions packages/wdio-cli/src/templates/wdio.conf.tpl.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,8 @@ if (answers.isUsingTypeScript) {
// worker process. In order to have a group of spec files run in the same worker
// process simply enclose them in an array within the specs array.
//
// If you are calling `wdio` from an NPM script (see https://docs.npmjs.com/cli/run-script),
// then the current working directory is where your `package.json` resides, so `wdio`
// will be called from there.
// The path of the spec files will be resolved relative from the directory of
// of the config file unless it's absolute.
//
specs: [
<%- answers.specs ? `'${answers.specs}'` : '// ToDo: define location for spec files here' %>
Expand Down
5 changes: 2 additions & 3 deletions website/docs/ConfigurationFile.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,8 @@ export const config = {
// worker process. In order to have a group of spec files run in the same worker
// process enclose them in an array within the specs array.
//
// If you are calling `wdio` from an NPM script (see https://docs.npmjs.com/cli/run-script),
// then the current working directory is where your `package.json` resides, so `wdio`
// will be called from there.
// The path of the spec files will be resolved relative from the directory of
// of the config file unless it's absolute.
//
specs: [
'test/spec/**',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,8 @@ export const config = {
// worker process. In order to have a group of spec files run in the same worker
// process enclose them in an array within the specs array.
//
// If you are calling `wdio` from an NPM script (see https://docs.npmjs.com/cli/run-script),
// then the current working directory is where your `package.json` resides, so `wdio`
// will be called from there.
// The path of the spec files will be resolved relative from the directory of
// of the config file unless it's absolute.
//
specs: [
'test/spec/**',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,8 @@ export const config = {
// worker process. In order to have a group of spec files run in the same worker
// process enclose them in an array within the specs array.
//
// If you are calling `wdio` from an NPM script (see https://docs.npmjs.com/cli/run-script),
// then the current working directory is where your `package.json` resides, so `wdio`
// will be called from there.
// The path of the spec files will be resolved relative from the directory of
// of the config file unless it's absolute.
//
specs: [
'test/spec/**',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,8 @@ export const config = {
// worker process. In order to have a group of spec files run in the same worker
// process enclose them in an array within the specs array.
//
// If you are calling `wdio` from an NPM script (see https://docs.npmjs.com/cli/run-script),
// then the current working directory is where your `package.json` resides, so `wdio`
// will be called from there.
// The path of the spec files will be resolved relative from the directory of
// of the config file unless it's absolute.
//
specs: [
'test/spec/**',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,8 @@ export const config = {
// worker process. In order to have a group of spec files run in the same worker
// process enclose them in an array within the specs array.
//
// If you are calling `wdio` from an NPM script (see https://docs.npmjs.com/cli/run-script),
// then the current working directory is where your `package.json` resides, so `wdio`
// will be called from there.
// The path of the spec files will be resolved relative from the directory of
// of the config file unless it's absolute.
//
specs: [
'test/spec/**',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,8 @@ export const config = {
// worker process. In order to have a group of spec files run in the same worker
// process enclose them in an array within the specs array.
//
// If you are calling `wdio` from an NPM script (see https://docs.npmjs.com/cli/run-script),
// then the current working directory is where your `package.json` resides, so `wdio`
// will be called from there.
// The path of the spec files will be resolved relative from the directory of
// of the config file unless it's absolute.
//
specs: [
'test/spec/**',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,8 @@ export const config = {
// worker process. In order to have a group of spec files run in the same worker
// process enclose them in an array within the specs array.
//
// If you are calling `wdio` from an NPM script (see https://docs.npmjs.com/cli/run-script),
// then the current working directory is where your `package.json` resides, so `wdio`
// will be called from there.
// The path of the spec files will be resolved relative from the directory of
// of the config file unless it's absolute.
//
specs: [
'test/spec/**',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,8 @@ export const config = {
// worker process. In order to have a group of spec files run in the same worker
// process enclose them in an array within the specs array.
//
// If you are calling `wdio` from an NPM script (see https://docs.npmjs.com/cli/run-script),
// then the current working directory is where your `package.json` resides, so `wdio`
// will be called from there.
// The path of the spec files will be resolved relative from the directory of
// of the config file unless it's absolute.
//
specs: [
'test/spec/**',
Expand Down Expand Up @@ -454,7 +453,7 @@ export const config = {
*
* कुकुम्बर स्टेप से पहले रन करता है।
* @param {Pickle.IPickleStep} स्टेप स्टेप डेटा
* @param {IPickle} परिदृश्य परिदृश्य पिकल
* @param {IPickle} परिदृश्य परिदृश्य पिकल
* @param {{object}} संदर्भ कुकुम्बर विश्व वस्तु
*/
स्टेप से पहले: फ़ंक्शन (चरण, परिदृश्य, संदर्भ) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,8 @@ export const config = {
// worker process. In order to have a group of spec files run in the same worker
// process enclose them in an array within the specs array.
//
// If you are calling `wdio` from an NPM script (see https://docs.npmjs.com/cli/run-script),
// then the current working directory is where your `package.json` resides, so `wdio`
// will be called from there.
// The path of the spec files will be resolved relative from the directory of
// of the config file unless it's absolute.
//
specs: [
'test/spec/**',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,8 @@ export const config = {
// worker process. In order to have a group of spec files run in the same worker
// process enclose them in an array within the specs array.
//
// If you are calling `wdio` from an NPM script (see https://docs.npmjs.com/cli/run-script),
// then the current working directory is where your `package.json` resides, so `wdio`
// will be called from there.
// The path of the spec files will be resolved relative from the directory of
// of the config file unless it's absolute.
//
specs: [
'test/spec/**',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,8 @@ export const config = {
// worker process. In order to have a group of spec files run in the same worker
// process enclose them in an array within the specs array.
//
// If you are calling `wdio` from an NPM script (see https://docs.npmjs.com/cli/run-script),
// then the current working directory is where your `package.json` resides, so `wdio`
// will be called from there.
// The path of the spec files will be resolved relative from the directory of
// of the config file unless it's absolute.
//
specs: [
'test/spec/**',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,8 @@ export const config = {
// worker process. In order to have a group of spec files run in the same worker
// process enclose them in an array within the specs array.
//
// If you are calling `wdio` from an NPM script (see https://docs.npmjs.com/cli/run-script),
// then the current working directory is where your `package.json` resides, so `wdio`
// will be called from there.
// The path of the spec files will be resolved relative from the directory of
// of the config file unless it's absolute.
//
specs: [
'test/spec/**',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,8 @@ export const config = {
// worker process. In order to have a group of spec files run in the same worker
// process enclose them in an array within the specs array.
//
// If you are calling `wdio` from an NPM script (see https://docs.npmjs.com/cli/run-script),
// then the current working directory is where your `package.json` resides, so `wdio`
// will be called from there.
// The path of the spec files will be resolved relative from the directory of
// of the config file unless it's absolute.
//
specs: [
'test/spec/**',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,8 @@ export const config = {
// worker process. In order to have a group of spec files run in the same worker
// process enclose them in an array within the specs array.
//
// If you are calling `wdio` from an NPM script (see https://docs.npmjs.com/cli/run-script),
// then the current working directory is where your `package.json` resides, so `wdio`
// will be called from there.
// The path of the spec files will be resolved relative from the directory of
// of the config file unless it's absolute.
//
specs: [
'test/spec/**',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,8 @@ export const config = {
// worker process. In order to have a group of spec files run in the same worker
// process enclose them in an array within the specs array.
//
// If you are calling `wdio` from an NPM script (see https://docs.npmjs.com/cli/run-script),
// then the current working directory is where your `package.json` resides, so `wdio`
// will be called from there.
// The path of the spec files will be resolved relative from the directory of
// of the config file unless it's absolute.
//
specs: [
'test/spec/**',
Expand Down

0 comments on commit 6a9a004

Please sign in to comment.