• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

node-opcua / node-opcua / 25742810475
92%

Build:
DEFAULT BRANCH: master
Ran 12 May 2026 03:44PM UTC
Jobs 1
Files 1219
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 May 2026 02:58PM UTC coverage: 92.177% (-0.01%) from 92.188%
25742810475

push

github

erossignon
feat(client-browser): scaffold package + Playwright E2E harness

First of several PRs splitting up the browser-client work. This drop
establishes:

- The `node-opcua-client-browser` package layout: `package.json`,
  `tsconfig.json` (+ ESM variant), `LICENSE`, `README.md`.
- A Playwright harness that builds a minimal test page with `esbuild`,
  serves it over a plain Node HTTP server, and loads it headless in
  Chromium.
- One smoke spec (`test/e2e/smoke.spec.ts`) that verifies the build
  toolchain and browser-module evaluation end-to-end.

No WebSocket transport yet, no `createBrowserClient`, no production
browser bundle — those arrive in follow-up PRs. `source/index.ts` just
exports a `VERSION` constant so the package compiles.

## Files added

- `packages/node-opcua-client-browser/package.json`
- `packages/node-opcua-client-browser/tsconfig.json`
- `packages/node-opcua-client-browser/tsconfig.esm.json`
- `packages/node-opcua-client-browser/LICENSE`
- `packages/node-opcua-client-browser/README.md`
- `packages/node-opcua-client-browser/source/index.ts`
- `packages/node-opcua-client-browser/playwright.config.ts`
- `packages/node-opcua-client-browser/build-test-page.mjs`
- `packages/node-opcua-client-browser/test/tsconfig.json`
- `packages/node-opcua-client-browser/test/e2e/harness.ts`
- `packages/node-opcua-client-browser/test/e2e/smoke.spec.ts`
- `packages/node-opcua-client-browser/test/page/index.html`
- `packages/node-opcua-client-browser/test/page/main.ts`

## Files modified

- `.gitignore` — adds `dist-esm/` and `dist-browser-bundle/`.
- `packages/tsconfig.json` — registers the new package as a project
  reference so `pnpm run build` from the workspace root compiles it.

## Deps

Only `@playwright/test` and `esbuild` as devDeps. Runtime deps are empty
and will be added in the transport PR.

## Running the smoke spec

    pnpm exec playwright install chromium   # first time only
    pnpm --filter node-opcua-client-browser run test:e2e

The spec as... (continued)

18601 of 22110 branches covered (84.13%)

162941 of 176769 relevant lines covered (92.18%)

466251.03 hits per line

Coverage Regressions

Lines Coverage ∆ File
10
90.07
-0.53% packages/node-opcua-client/source/private/client_base_impl.ts
6
82.85
-0.29% packages/node-opcua-secure-channel/source/client/client_secure_channel_layer.ts
5
90.91
-0.69% packages/node-opcua-server/source/register_server_manager.ts
3
91.28
-0.15% packages/node-opcua-server/source/server_subscription.ts
Jobs
ID Job ID Ran Files Coverage
1 25742810475.1 12 May 2026 03:44PM UTC 1219
92.18
GitHub Action Run
Source Files on build 25742810475
  • Tree
  • List 1219
  • Changed 6
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25742810475
  • 6edff8ad on github
  • Prev Build on master (#25697702997)
  • Next Build on master (#25751058326)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc