@aerokit/test 15.0.0 → 15.4.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.
- package/README.md +9 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
# @aerokit/test
|
|
1
|
+
# @aerokit/test
|
|
2
2
|
|
|
3
|
-
> **Publishing note:**
|
|
4
|
-
>
|
|
5
|
-
>
|
|
6
|
-
> `@aerokit/sdk
|
|
7
|
-
>
|
|
3
|
+
> **Publishing note:** every release publishes this folder as `@aerokit/test`, versioned with the
|
|
4
|
+
> platform. Consumers depend on `@aerokit/test` and import `@aerokit/test` /
|
|
5
|
+
> `@aerokit/test/fixtures`. A harness written against the earlier `@aerokit/sdk/test` subpath keeps
|
|
6
|
+
> resolving while `@aerokit/sdk` still ships it, but `@aerokit/sdk` is being deprecated: switch the
|
|
7
|
+
> import and the dependency to `@aerokit/test`.
|
|
8
8
|
|
|
9
9
|
Generic [Playwright](https://playwright.dev) runner that executes an intent module's generated
|
|
10
10
|
`<name>.test` manifest against a running Eclipse Dirigible instance. The manifest (emitted by the
|
|
@@ -24,7 +24,7 @@ it never enters the registry or the npm package):
|
|
|
24
24
|
```js
|
|
25
25
|
// test/app.spec.js
|
|
26
26
|
import { fileURLToPath } from 'node:url';
|
|
27
|
-
import { runTest } from '@aerokit/
|
|
27
|
+
import { runTest } from '@aerokit/test';
|
|
28
28
|
|
|
29
29
|
runTest(fileURLToPath(new URL('../<project>/<name>.test', import.meta.url)));
|
|
30
30
|
```
|
|
@@ -85,7 +85,8 @@ Test records carry an `APPTEST-` prefix and are removed in teardown; seed data i
|
|
|
85
85
|
A field the app owns rather than the user — a `number:` series, a calculated or `readOnly:` value —
|
|
86
86
|
is never written or flipped by a flow (the manifest marks it `readOnly`). A relation the form renders
|
|
87
87
|
read-only — a `calculatedActionOnUpdate`, a platform-owned FK — carries the same flag and is never
|
|
88
|
-
picked in the UI. A
|
|
88
|
+
picked in the UI. A relation fixed after create (`fixedAfterCreate: true`) carries `readOnlyOnEdit`: it is
|
|
89
|
+
picked on create and never changed by an edit, which the generated app answers with a 409. A field declaring a
|
|
89
90
|
`pattern:` gets a value of that shape rather than the marker string. An optional `pattern:` field
|
|
90
91
|
whose shape none of the sample candidates has (an IBAN, say) is left empty; a required one keeps the
|
|
91
92
|
marker, so the controller's 400 names the field. Relations an `agree` check names are picked so
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aerokit/test",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.4.1",
|
|
4
4
|
"description": "Generic Playwright runner that executes an intent module's generated <name>.test manifest against a running Eclipse Dirigible instance",
|
|
5
5
|
"license": "EPL-2.0",
|
|
6
6
|
"type": "module",
|