Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@ jobs:
run: pnpm install
- name: Build
run: |
pnpm --filter "@wdio/devtools-backend" build
pnpm --filter "@wdio/devtools-script" build
pnpm --filter "@wdio/devtools-service" build
pnpm --filter "@wdio/devtools-app" build
pnpm --filter "@wdio/devtools-backend" build
pnpm --filter "@wdio/devtools-service" build
pnpm --filter "@wdio/nightwatch-devtools" build
- name: Release
run: pnpm -r publish --access public --no-git-checks
env:
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ Works with **WebdriverIO** and **[Nightwatch.js](./packages/nightwatch-devtools/
npm install @wdio/devtools-service
```

> **Nightwatch users:** `@wdio/nightwatch-devtools` is included as a dependency of `@wdio/devtools-service`. Install the service and import from `@wdio/nightwatch-devtools` directly — see the [Nightwatch Integration](#nightwatch-integration) section.

## Configuration

Add the service to your `wdio.conf.js`:
Expand Down Expand Up @@ -112,7 +114,7 @@ pnpm demo

Using [Nightwatch.js](https://nightwatchjs.org/)? A dedicated adapter package brings the same DevTools UI to your Nightwatch test suite with zero test code changes.

→ **[`@wdio/nightwatch-devtools`](./packages/nightwatch-devtools/README.md)** — installation, configuration, and Cucumber/BDD setup.
→ **[`@wdio/nightwatch-devtools`](./packages/nightwatch-devtools/README.md)** — configuration, Cucumber/BDD setup, and limitations.

## Project Structure

Expand Down
2 changes: 1 addition & 1 deletion packages/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wdio/devtools-app",
"version": "1.2.1",
"version": "1.3.0",
"description": "Browser devtools extension for debugging WebdriverIO tests.",
"type": "module",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wdio/devtools-backend",
"version": "1.2.1",
"version": "1.3.0",
"description": "Backend service to spin up WebdriverIO Devtools",
"author": "Christian Bromann <mail@bromann.dev>",
"license": "MIT",
Expand Down
8 changes: 1 addition & 7 deletions packages/nightwatch-devtools/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,7 @@

> Nightwatch adapter for [WebdriverIO DevTools](../../README.md) - brings the same visual debugging UI to your Nightwatch test suite with zero test code changes.

## Installation

```bash
npm install --save-dev @wdio/nightwatch-devtools
# or
pnpm add -D @wdio/nightwatch-devtools
```
> **Note:** `@wdio/nightwatch-devtools` is included as a dependency of `@wdio/devtools-service`. Install the service package and import from `@wdio/nightwatch-devtools` directly.

---

Expand Down
18 changes: 17 additions & 1 deletion packages/nightwatch-devtools/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,26 @@
{
"name": "@wdio/nightwatch-devtools",
"version": "0.1.0",
"version": "1.0.0",
"description": "Nightwatch adapter for WebdriverIO DevTools - reuses existing backend, UI, and capture infrastructure",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/webdriverio/devtools.git",
"directory": "packages/nightwatch-devtools"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.js"
}
},
"files": [
"dist",
"README.md"
],
"nightwatch": {
"plugin": true
},
Expand Down
2 changes: 1 addition & 1 deletion packages/script/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wdio/devtools-script",
"version": "1.2.1",
"version": "1.3.0",
"description": "Script to be injected into a page to trace the page",
"author": "Christian Bromann <mail@bromann.dev>",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/service/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wdio/devtools-service",
"version": "10.2.1",
"version": "10.3.0",
"description": "Hook up WebdriverIO with DevTools",
"author": "Christian Bromann <mail@bromann.dev>",
"repository": {
Expand Down
Loading