wdi5 quickstart
fast lane for adding wdi5
for e2e tests to your UI5 application
quickstart
$> cd your/ui5/app
$> npm init wdi5
how it works
the init will
- install
wdi5
and all required WebdriverIO peer dependencies - add a config file (
wdio.conf.js
) to your current working directory,
assuming that your tests are in$ui5-app/webapp/test/**/*
and follow the name pattern*.test.js
- set an
npm
script named "wdi5" to runwdi5
so you can immediately donpm run wdi5
note this is a minimal install for running wdi5
- locally
- with
Chrome
as target browser - plain JavaScript as notation
mocha
as the syntax for testsspec
as the output format of the test results
next
- add TS support (
wdio.conf.ts
)