Gathering detailed insights and metrics for create-wdi5
Gathering detailed insights and metrics for create-wdi5
npm install create-wdi5
Typescript
Module System
Node Version
NPM Version
72.6
Supply Chain
87.3
Quality
77.7
Maintenance
100
Vulnerability
100
License
TypeScript (58.31%)
JavaScript (41.35%)
Shell (0.34%)
Total Downloads
8,374
Last Day
12
Last Week
93
Last Month
525
Last Year
4,732
8 Stars
84 Commits
1 Forks
9 Watching
2 Branches
9 Contributors
Minified
Minified + Gzipped
Latest Version
2.0.5
Package Id
create-wdi5@2.0.5
Unpacked Size
55.88 kB
Size
13.03 kB
File Count
10
NPM Version
10.9.0
Node Version
22.5.1
Publised On
03 Nov 2024
Cumulative downloads
Total Downloads
Last day
-42.9%
12
Compared to previous day
Last week
-39.6%
93
Compared to previous week
Last month
40%
525
Compared to previous month
Last year
114.9%
4,732
Compared to previous year
Fast lane for adding wdi5
for e2e tests to your UI5 application
1$> cd your/ui5/app 2# for JavaScript projects: 3$> npm init wdi5@latest 4# for TypeScript projects: 5$> npm init wdi5@latest -- --ts
Or, if you are working with yarn
1$> yarn create wdi5@latest 2$> yarn create wdi5@latest -- --ts
Or, if you are working with pnpm
1$> pnpm create wdi5@latest 2$> pnpm create wdi5@latest -- --ts
Note that this quickstart command is suited as a complimentary tool to yo easy-ui5
!
The initializer will…
for JavaScript | for TypeScript |
---|---|
install wdi5 and all required WebdriverIO peer dependencies | (← same) |
assume that you're running the UI5 app with the ui5-tooling on port 8080 | (← same) |
- add a config file (wdio.conf.js ) info $ui5-app/webapp/test/e2e/ - assume that your tests are in $ui5-app/webapp/test/e2e/**/* and follow the name pattern *.test.js | - add the wdi5 config file (wdio.conf.ts ) and a TypeScript config file (tsconfig.json ) to $ui5-app/webapp/test/e2e/ - assume that your tests are in $ui5-app/webapp/test/e2e/**/* and follow the name pattern *.test.ts |
set an npm script named "wdi5" to run wdi5 so you can immediately do npm run wdi5 | (← same) |
Note that this is a minimal install for running wdi5
Chrome
as target browsermocha
as the syntax for testsspec
as the output format of the test resultsThe wdi5
config is already prepared for
--headless
: runs Chrome in headless mode (npm run wdi5 -- --headless
)--debug
: extends test timeouts and auto-opens Chrome's developer tools pane (npm run wdi5 -- --debug
)You can pass the following optional flags to modify the quickstart of wdi5
:
--configPath <path to config>
custom path where your config file (wdio.conf.(j|t)s
) should be created--specs <path to specs>
custom path where your specs files are located--baseUrl <application url>
custom url to your applicationNo vulnerabilities found.
No security vulnerabilities found.