@interopio/iocd-cli 0.0.47 → 0.0.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,7 +9,7 @@
9
9
  "version": "1.0.0",
10
10
  "license": "ISC",
11
11
  "devDependencies": {
12
- "@interopio/wdio-iocd-service": "^0.1.0",
12
+ "@interopio/wdio-iocd-service": "^0.1.1",
13
13
  "@types/node": "^24.10.0",
14
14
  "@wdio/cli": "^8.46.0",
15
15
  "@wdio/local-runner": "^8.46.0",
@@ -248,9 +248,9 @@
248
248
  }
249
249
  },
250
250
  "node_modules/@interopio/wdio-iocd-service": {
251
- "version": "0.1.0",
252
- "resolved": "https://registry.npmjs.org/@interopio/wdio-iocd-service/-/wdio-iocd-service-0.1.0.tgz",
253
- "integrity": "sha512-RRwIGdWz2hEsV6Djj5XJIcEqxJ1312rcEiAaj4JCBLcyetVFAH/6lPwUKHkRg3ET4AKc3kk3dChqIHpWshRpmA==",
251
+ "version": "0.1.1",
252
+ "resolved": "https://registry.npmjs.org/@interopio/wdio-iocd-service/-/wdio-iocd-service-0.1.1.tgz",
253
+ "integrity": "sha512-piJVeDnUfjjPeFunlYQHnfNs7F/NUwhxSBy9ZC5HS/anLGpTayojgs4BeC3dw179aEA3wTqSyLZBJNA5ZlYFCw==",
254
254
  "dev": true,
255
255
  "license": "MIT",
256
256
  "dependencies": {
@@ -650,7 +650,6 @@
650
650
  "integrity": "sha512-qzQZRBqkFsYyaSWXuEHc2WR9c0a0CXwiE5FWUvn7ZM+vdy1uZLfCunD38UzhuB7YN/J11ndbDBcTmOdxJo9Q7A==",
651
651
  "dev": true,
652
652
  "license": "MIT",
653
- "peer": true,
654
653
  "dependencies": {
655
654
  "undici-types": "~7.16.0"
656
655
  }
@@ -1053,7 +1052,6 @@
1053
1052
  "integrity": "sha512-t4NaNTvJZci3Xv/yUZPH4eTL0hxrVTf5wdwNnYIBrzMnlRDbNefjQ0P7FM7ZjQCLaH92AEH6t/XanUId7Webug==",
1054
1053
  "dev": true,
1055
1054
  "license": "MIT",
1056
- "peer": true,
1057
1055
  "dependencies": {
1058
1056
  "@types/node": "^22.2.0"
1059
1057
  },
@@ -1170,7 +1168,6 @@
1170
1168
  "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
1171
1169
  "dev": true,
1172
1170
  "license": "MIT",
1173
- "peer": true,
1174
1171
  "dependencies": {
1175
1172
  "fast-deep-equal": "^3.1.1",
1176
1173
  "fast-json-stable-stringify": "^2.0.0",
@@ -2363,8 +2360,7 @@
2363
2360
  "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1400418.tgz",
2364
2361
  "integrity": "sha512-U8j75zDOXF8IP3o0Cgb7K4tFA9uUHEOru2Wx64+EUqL4LNOh9dRe1i8WKR1k3mSpjcCe3aIkTDvEwq0YkI4hfw==",
2365
2362
  "dev": true,
2366
- "license": "BSD-3-Clause",
2367
- "peer": true
2363
+ "license": "BSD-3-Clause"
2368
2364
  },
2369
2365
  "node_modules/diff": {
2370
2366
  "version": "7.0.0",
@@ -6606,7 +6602,6 @@
6606
6602
  "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
6607
6603
  "dev": true,
6608
6604
  "license": "Apache-2.0",
6609
- "peer": true,
6610
6605
  "bin": {
6611
6606
  "tsc": "bin/tsc",
6612
6607
  "tsserver": "bin/tsserver"
@@ -6867,7 +6862,6 @@
6867
6862
  "integrity": "sha512-SyrSVpygEdPzvgpapVZRQCy8XIOecadp56bPQewpfSfo9ypB6wdOUkx13NBu2ANDlUAtJX7KaLJpTtywVHNlVw==",
6868
6863
  "dev": true,
6869
6864
  "license": "MIT",
6870
- "peer": true,
6871
6865
  "dependencies": {
6872
6866
  "@types/node": "^22.2.0",
6873
6867
  "@wdio/config": "8.46.0",
@@ -1,16 +1,12 @@
1
1
  {
2
2
  "name": "tests",
3
3
  "version": "1.0.0",
4
- "description": "",
5
4
  "license": "ISC",
6
- "author": "",
7
- "type": "commonjs",
8
- "main": "basic.test.js",
9
5
  "scripts": {
10
6
  "test": "npx wdio run ./wdio.config.ts"
11
7
  },
12
8
  "devDependencies": {
13
- "@interopio/wdio-iocd-service": "^0.1.0",
9
+ "@interopio/wdio-iocd-service": "^0.1.1",
14
10
  "@types/node": "^24.10.0",
15
11
  "@wdio/cli": "^8.46.0",
16
12
  "@wdio/local-runner": "^8.46.0",
@@ -20,4 +16,4 @@
20
16
  "typescript": "^5.9.3",
21
17
  "webdriverio": "^8.46.0"
22
18
  }
23
- }
19
+ }
@@ -1,30 +1,28 @@
1
1
  describe('Example usage of @interopio/wdio-iocd-service', () => {
2
- it('should have access to browser.io()', async () => {
3
- console.log('test start');
4
- // A fully working io.Connect Desktop client
5
- const io = await browser.io();
6
- console.log('io object ready', io.version);
2
+ it('should have access to browser.io()', async () => {
3
+ console.log('test start');
4
+ // A fully working io.Connect Desktop client
5
+ const io = await browser.io();
6
+ console.log('io object ready', io.version);
7
7
 
8
- expect(io).toHaveAttribute('appManager');
9
- expect(io).toHaveAttribute('contexts');
10
- expect(io).toHaveAttribute('channels');
11
- });
12
-
13
- it('should raise a test notifications, and then navigate to notifications panel', async () => {
14
- const io = await browser.io();
15
- await io.notifications.configure({ enable: true });
16
- await io.notifications.raise({
17
- title: 'Test Notification title',
18
- body: 'Test Notification body',
19
- toastExpiry: 999999,
20
- });
21
-
22
- await browser.switchToLaunchpad();
8
+ expect(io).toHaveAttribute('appManager');
9
+ expect(io).toHaveAttribute('contexts');
10
+ expect(io).toHaveAttribute('channels');
11
+ });
23
12
 
24
- await browser.$('.launchpad-header-notifications-button button').waitAndClick();
13
+ it('should raise a test notifications, and then navigate to notifications panel', async () => {
14
+ const io = await browser.io();
15
+ await io.notifications.configure({ enable: true });
16
+ await io.notifications.raise({
17
+ title: 'Test Notification title',
18
+ body: 'Test Notification body',
19
+ toastExpiry: 999999,
20
+ });
25
21
 
26
- await browser.switchToNotificationsPanel();
22
+ await browser.switchToLaunchpad();
23
+ await browser.$('.notifications-button button').waitAndClick();
24
+ await browser.switchToNotificationPanel();
27
25
 
28
- await browser.pause(2000);
29
- });
26
+ await browser.pause(2000);
27
+ });
30
28
  });
@@ -1,11 +1,11 @@
1
1
  {
2
- "compilerOptions": {
3
- "target": "ES2020",
4
- "module": "CommonJS",
5
- "moduleResolution": "Node",
6
- "outDir": "dist",
7
- "esModuleInterop": true,
8
- "types": ["node", "@wdio/globals/types", "@wdio/mocha-framework"]
9
- },
10
- "include": ["wdio.config.ts", "tests/**/*.ts"]
11
- }
2
+ "compilerOptions": {
3
+ "target": "ES2020",
4
+ "module": "CommonJS",
5
+ "moduleResolution": "Node",
6
+ "outDir": "dist",
7
+ "esModuleInterop": true,
8
+ "types": ["node", "@wdio/globals/types", "@wdio/mocha-framework"]
9
+ },
10
+ "include": ["wdio.config.ts", "tests/**/*.ts"]
11
+ }
@@ -1,33 +1,36 @@
1
- import { IocdBaseConfiguration, IocdService } from '@interopio/wdio-iocd-service';
1
+ import {
2
+ IOCDBaseConfiguration,
3
+ IOCDService,
4
+ } from '@interopio/wdio-iocd-service';
2
5
 
3
6
  export const config: WebdriverIO.Config = {
4
- ...IocdBaseConfiguration,
7
+ ...IOCDBaseConfiguration,
5
8
 
6
- // Services
7
- services: IocdService(),
9
+ // Services
10
+ services: IOCDService(),
8
11
 
9
- // Capabilities
10
- capabilities: [
11
- {
12
- browserName: 'iocd',
13
- 'wdio:specs': ['./tests/**/*.spec.ts'],
14
- 'iocd:options': {
15
- binary: '%BINARY_PATH%',
16
- },
17
- },
18
- ],
12
+ // Capabilities
13
+ capabilities: [
14
+ {
15
+ browserName: 'iocd',
16
+ 'wdio:specs': ['./tests/**/*.spec.ts'],
17
+ 'iocd:options': {
18
+ binary: '%BINARY_PATH%',
19
+ },
20
+ },
21
+ ],
19
22
 
20
- // WDIO Options
21
- logLevel: 'info',
22
- framework: 'mocha',
23
- reporters: ['spec'],
23
+ // WDIO Options
24
+ logLevel: 'warn',
25
+ framework: 'mocha',
26
+ reporters: ['spec'],
24
27
 
25
- // TypeScript Autocompile
26
- autoCompileOpts: {
27
- autoCompile: true,
28
- tsNodeOpts: {
29
- transpileOnly: true,
30
- project: './tsconfig.json',
31
- },
28
+ // TypeScript Autocompile
29
+ autoCompileOpts: {
30
+ autoCompile: true,
31
+ tsNodeOpts: {
32
+ transpileOnly: true,
33
+ project: './tsconfig.json',
32
34
  },
33
- };
35
+ },
36
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@interopio/iocd-cli",
3
- "version": "0.0.47",
3
+ "version": "0.0.48",
4
4
  "description": "CLI tool for setting up, building and packaging io.Connect Desktop platforms",
5
5
  "engines": {
6
6
  "node": ">=22.0.0",