Revisions for ⁨npm init and wdio config output⁩

View the changes made to this paste.

unlisted ⁨1⁩ ⁨file⁩ 2021-04-09 17:58:01 UTC

pastefile1

@@ -0,0 +1,61 @@

+{
+  "name": "wdio_test",
+  "version": "1.0.0",
+  "description": "test project",
+  "main": "index.js",
+  "scripts": {
+    "test": "wdio run ./wdio.conf.js"
+  },
+  "author": "",
+  "license": "ISC"
+}
+
+
+Is this OK? (yes)
+❯ npm i --save-dev @wdio/cli
+
+added 296 packages, and audited 297 packages in 9s
+
+31 packages are looking for funding
+  run `npm fund` for details
+
+found 0 vulnerabilities
+❯ npx wdio config
+
+=========================
+WDIO Configuration Helper
+=========================
+
+? Where is your automation backend located? On my local machine
+? Which framework do you want to use? jasmine
+? Do you want to run WebdriverIO commands synchronous or asynchronous? sync
+? Are you using a compiler? No!
+? Where are your test specs located? ./test/specs/**/*.js
+? Do you want WebdriverIO to autogenerate some test files? Yes
+? Do you want to use page objects (https://martinfowler.com/bliki/PageObject.html)? Yes
+? Where are your page objects located? ./test/pageobjects/**/*.js
+? Which reporter do you want to use? spec
+? Do you want to add a service to your test setup? selenium-standalone
+? What is the base url? http://localhost
+
+Installing wdio packages:
+- @wdio/local-runner
+- @wdio/jasmine-framework
+- @wdio/spec-reporter
+- @wdio/selenium-standalone-service
+- @wdio/sync
+
+added 69 packages, and audited 366 packages in 5s
+
+32 packages are looking for funding
+  run `npm fund` for details
+
+found 0 vulnerabilities
+
+Packages installed successfully, creating configuration file...
+
+Config file installed successfully, creating test files...
+
+Configuration file was created successfully!
+To run your tests, execute:
+$ npx wdio run wdio.conf.js
\ No newline at end of file