@unotest/web 0.47.0 → 0.48.0

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": "@unotest/web",
3
- "version": "0.47.0",
3
+ "version": "0.48.0",
4
4
  "description": "AI-native E2E testing for web applications. MCP server (run_test / step / resume / inspect_runtime / agent_fix) + CLI runner + JavaScript DSL scenarios on a sandboxed AST engine + semantic DOM snapshots.",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -85,18 +85,18 @@
85
85
  "tsx": "^4.19.2",
86
86
  "yaml": "^2.6.0",
87
87
  "zod": "^3.23.8",
88
- "@unotest/grounder-client": "^0.47.0",
89
- "@unotest/dsl": "^0.47.0",
90
- "@unotest/core": "^0.47.0",
91
- "@unotest/protocol": "^0.47.0",
92
- "@unotest/viewer": "^0.47.0"
88
+ "@unotest/core": "^0.48.0",
89
+ "@unotest/protocol": "^0.48.0",
90
+ "@unotest/dsl": "^0.48.0",
91
+ "@unotest/grounder-client": "^0.48.0",
92
+ "@unotest/viewer": "^0.48.0"
93
93
  },
94
94
  "devDependencies": {
95
95
  "@types/node": "^22.10.0",
96
96
  "javascript-obfuscator": "^4.1.1",
97
97
  "tsup": "^8.5.1",
98
98
  "typescript": "^5.7.2",
99
- "@unotest/grounder": "^0.47.0",
100
- "@unotest/judge": "^0.47.0"
99
+ "@unotest/judge": "^0.48.0",
100
+ "@unotest/grounder": "^0.48.0"
101
101
  }
102
102
  }
@@ -201,14 +201,14 @@ declare function assertAttribute(locator: Locator, name: string, value: string |
201
201
  *
202
202
  * Element is visible.
203
203
  */
204
- declare function assertVisible(locator: Locator): void;
204
+ declare function assertVisible(locator: Locator, options?: any): void;
205
205
 
206
206
  /**
207
207
  * assertHidden(locator, { timeout? })
208
208
  *
209
209
  * Element is hidden or detached.
210
210
  */
211
- declare function assertHidden(locator: Locator): void;
211
+ declare function assertHidden(locator: Locator, options?: any): void;
212
212
 
213
213
  /**
214
214
  * assertNeverAppears(locator, { withinMs })
@@ -222,14 +222,14 @@ declare function assertNeverAppears(locator: Locator, options: any): void;
222
222
  *
223
223
  * Input's value equals `expected`. On a checkbox/radio/switch: its checked state — pass 'true' or 'false'.
224
224
  */
225
- declare function assertValue(locator: Locator, value: string): void;
225
+ declare function assertValue(locator: Locator, value: string, options?: any): void;
226
226
 
227
227
  /**
228
228
  * assertCount(locator, expected, { timeout? })
229
229
  *
230
230
  * Number of matches equals `expected`.
231
231
  */
232
- declare function assertCount(locator: Locator, count: number): void;
232
+ declare function assertCount(locator: Locator, count: number, options?: any): void;
233
233
 
234
234
  /**
235
235
  * assertUrl(pattern, { timeout? })