@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 CHANGED
@@ -1,8 +1,8 @@
1
1
  # Corresponding source
2
2
 
3
- Version 0.2.3, commit 51c80ceb827a4eb28c4fbbd78b9182ba3332156d.
3
+ Version 0.2.4, commit 6dec3f53d7adf1743c1cd22857b17fc225cb4957.
4
4
 
5
- Complete source, build scripts and dependencies: https://github.com/Peiiii/x-harness/tree/51c80ceb827a4eb28c4fbbd78b9182ba3332156d
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({ state: "visible", timeoutMs: 5000 });
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",
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": "51c80ceb827a4eb28c4fbbd78b9182ba3332156d"
45
+ "gitHead": "6dec3f53d7adf1743c1cd22857b17fc225cb4957"
46
46
  }