@ripplo/testing 0.6.0 → 0.6.1

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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -84,17 +84,17 @@ import { observer } from "@ripplo/testing";
84
84
 
85
85
  export const orgNameIs = observer("org:name-is")
86
86
  .description("Org has the given name in the DB")
87
- .input<{ orgId: string; expectedName: string }>()
88
87
  .budget("fast")
88
+ .input<{ orgId: string; expectedName: string }>()
89
89
  .contract();
90
90
 
91
91
  export const observers = { orgNameIs };
92
92
  ```
93
93
 
94
- `.input<T>()` fields are typed primitives — same rules as precondition contracts. The wire codec preserves the type.
95
-
96
94
  `.budget(tier)` controls how long the runtime polls. Use `fast` for synchronous DB reads (default, ~5s), `slow` for queue drains and replication (~30s), `async` for webhooks and LLM calls (~120s).
97
95
 
96
+ `.input<T>()` fields are typed primitives — same rules as precondition contracts. The wire codec preserves the type.
97
+
98
98
  ## Locators, actions, assertions
99
99
 
100
100
  `role(name, accessibleName)` matches by ARIA role and accessible name and is the right tool for almost everything. `testId(id)` matches `data-testid` and exists for elements with no semantic role.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ripplo/testing",
3
3
  "description": "TypeScript DSL for defining and running Ripplo e2e workflow tests",
4
- "version": "0.6.0",
4
+ "version": "0.6.1",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"