mobilewright 0.0.28 → 0.0.29

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobilewright",
3
- "version": "0.0.28",
3
+ "version": "0.0.29",
4
4
  "description": "Mobile device automation framework inspired by Playwright",
5
5
  "homepage": "https://mobilewright.dev",
6
6
  "license": "Apache-2.0",
@@ -30,13 +30,14 @@
30
30
  },
31
31
  "files": [
32
32
  "dist",
33
- "assets"
33
+ "assets",
34
+ "templates"
34
35
  ],
35
36
  "dependencies": {
36
- "@mobilewright/core": "^0.0.28",
37
- "@mobilewright/driver-mobilecli": "^0.0.28",
38
- "@mobilewright/driver-mobile-use": "^0.0.28",
39
- "@mobilewright/protocol": "^0.0.28",
37
+ "@mobilewright/core": "^0.0.29",
38
+ "@mobilewright/driver-mobilecli": "^0.0.29",
39
+ "@mobilewright/driver-mobile-use": "^0.0.29",
40
+ "@mobilewright/protocol": "^0.0.29",
40
41
  "commander": "^14.0.3",
41
42
  "debug": "^4.4.3",
42
43
  "playwright": "1.58.2",
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=example.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"example.test.d.ts","sourceRoot":"","sources":["example.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { test, expect } from '@mobilewright/test';
2
+ test('app launches and shows home screen', async ({ screen }) => {
3
+ await expect(screen.getByText('Welcome')).toBeVisible();
4
+ });
5
+ //# sourceMappingURL=example.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"example.test.js","sourceRoot":"","sources":["example.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAElD,IAAI,CAAC,oCAAoC,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE;IAC9D,MAAM,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;AAC1D,CAAC,CAAC,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { test, expect } from '@mobilewright/test';
2
+
3
+ test('app launches and shows home screen', async ({ screen }) => {
4
+ await expect(screen.getByText('Welcome')).toBeVisible();
5
+ });
@@ -0,0 +1,3 @@
1
+ declare const _default: import("mobilewright").MobilewrightConfig;
2
+ export default _default;
3
+ //# sourceMappingURL=mobilewright.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mobilewright.config.d.ts","sourceRoot":"","sources":["mobilewright.config.ts"],"names":[],"mappings":";AAEA,wBAKG"}
@@ -0,0 +1,8 @@
1
+ import { defineConfig } from 'mobilewright';
2
+ export default defineConfig({
3
+ platform: 'ios',
4
+ bundleId: 'com.example.myapp',
5
+ deviceName: /iPhone/,
6
+ timeout: 30_000,
7
+ });
8
+ //# sourceMappingURL=mobilewright.config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mobilewright.config.js","sourceRoot":"","sources":["mobilewright.config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,eAAe,YAAY,CAAC;IAC1B,QAAQ,EAAE,KAAK;IACf,QAAQ,EAAE,mBAAmB;IAC7B,UAAU,EAAE,QAAQ;IACpB,OAAO,EAAE,MAAM;CAChB,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { defineConfig } from 'mobilewright';
2
+
3
+ export default defineConfig({
4
+ platform: 'ios',
5
+ bundleId: 'com.example.myapp',
6
+ deviceName: /iPhone/,
7
+ timeout: 30_000,
8
+ });