@nextclaw/x-harness 0.2.3 → 0.2.4
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/SOURCE.md +2 -2
- package/dist/browser-dom-editing.js +4 -1
- package/package.json +2 -2
package/SOURCE.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Corresponding source
|
|
2
2
|
|
|
3
|
-
Version 0.2.
|
|
3
|
+
Version 0.2.4, commit 6dec3f53d7adf1743c1cd22857b17fc225cb4957.
|
|
4
4
|
|
|
5
|
-
Complete source, build scripts and dependencies: https://github.com/Peiiii/x-harness/tree/
|
|
5
|
+
Complete source, build scripts and dependencies: https://github.com/Peiiii/x-harness/tree/6dec3f53d7adf1743c1cd22857b17fc225cb4957
|
|
6
6
|
|
|
7
7
|
Clone this revision, run npm ci, npm run bootstrap and npm run release:build.
|
|
8
8
|
|
|
@@ -369,7 +369,10 @@ export class DOMEditing {
|
|
|
369
369
|
throw new Error("编辑后提交入口不唯一");
|
|
370
370
|
await this.#locator("button", submits[0].label)
|
|
371
371
|
.and(this.#tab.playwright.locator(':not([disabled]):not([aria-disabled="true"])'))
|
|
372
|
-
.waitFor({
|
|
372
|
+
.waitFor({
|
|
373
|
+
state: "visible",
|
|
374
|
+
timeoutMs: result.videos?.length ? 60000 : 5000,
|
|
375
|
+
});
|
|
373
376
|
return { completed: true };
|
|
374
377
|
return { completed: false, loc, submittedEditor };
|
|
375
378
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextclaw/x-harness",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Typed X task harness with compact business results and explicit diagnostics.",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "6dec3f53d7adf1743c1cd22857b17fc225cb4957"
|
|
46
46
|
}
|