pomerado 0.4.0-canary.310 → 0.4.0-canary.311
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/CHANGELOG.md
CHANGED
|
@@ -164,6 +164,8 @@
|
|
|
164
164
|
|
|
165
165
|
### Other changes
|
|
166
166
|
|
|
167
|
+
- The forms skill tells a script to name a conditional pop-up's close control as `dismiss` of `waitForReady`, which closes it whenever it opens, rather than checking for it at one point. The testing skill adds a live case for a free-text input with a value the example used written another way, such as in other case or with other spacing, punctuation or accents. The core skill says to prefer a unique input, such as an ID: a tool that acts on one record takes the ID the site's other tools use for it, and finds the record another way, such as by name, only when the caller gives none.
|
|
168
|
+
- A recorded minter response keyed on the exact forms, testing or core skill text needs recording again.
|
|
167
169
|
- The core skill tells a search step to wait for either the site's results or its own no-match state, and to return the site's no-match answer with its message, so a value the site does not recognise no longer runs into a timeout waiting on results that never appear.
|
|
168
170
|
- A recorded minter response keyed on the exact core skill text needs recording again.
|
|
169
171
|
- The caller-input skill says to apply each caller input the way the site applies it, and only that: no added constraints between inputs, no filtering of them and no value the caller didn't give, so a store and a delivery ZIP the site sets separately are both applied as given. The search skill says that a location given without a store uses what the site would show for that location, such as the nearest store, rather than what the site guessed from the browser's own location, and returns what was applied.
|
|
@@ -191,8 +191,10 @@ exception: it is optional unless the task can't run without it (below).
|
|
|
191
191
|
from the one you saw.
|
|
192
192
|
- Inputs are values a caller knows, such as codes, names, dates and counts, never a
|
|
193
193
|
suggestion's full display text or an internal id the caller cannot know (an id the site
|
|
194
|
-
shows on its own pages, such as a product number, is not internal).
|
|
195
|
-
|
|
194
|
+
shows on its own pages, such as a product number, is not internal). Prefer a unique input,
|
|
195
|
+
such as an ID: a tool that acts on one record takes the ID the site's other tools use for it,
|
|
196
|
+
and finds the record another way, such as by name, only when the caller gives none. A closed
|
|
197
|
+
list of options stays an enum of the site's options, as above. When the options come from a
|
|
196
198
|
query, as in a search box, autocomplete, typeahead or searchable combobox, look the value
|
|
197
199
|
up the way a person would, with `pickValue` from `pickerCode` (forms skill). It types the
|
|
198
200
|
caller's value into the site's own search, reads every suggestion, matches names loosely
|
|
@@ -146,9 +146,9 @@ shows one, and otherwise with any of its controls, accept included. Name that co
|
|
|
146
146
|
|
|
147
147
|
Decide whether each pop-up, banner or interstitial is conditional or always triggered. A
|
|
148
148
|
conditional one shows only for some accounts, states or visits, such as a cookie banner, a
|
|
149
|
-
one-time promotion or a membership upsell shown only to non-members:
|
|
150
|
-
|
|
151
|
-
|
|
149
|
+
one-time promotion or a membership upsell shown only to non-members: name its close control as
|
|
150
|
+
`dismiss` of `waitForReady` (core skill), which closes it whenever it opens, rather than checking
|
|
151
|
+
for it at one point. Never wait for it or require it. One the page always opens in answer to an action,
|
|
152
152
|
such as a confirmation dialog a button always opens, may be expected, and the script accepts it
|
|
153
153
|
when it only restates what this run entered or acts on. One that shows something new, such as a
|
|
154
154
|
fee, a consequence beyond the request, another record or a warning about this input, goes to the
|
|
@@ -100,6 +100,8 @@ run no batch before then. Aim for a handful of cases, not dozens:
|
|
|
100
100
|
one made-up key in the site's own format, with a serial past any the site lists, and expect
|
|
101
101
|
`invalid_input`. Without a no-results answer, move on: it needs no
|
|
102
102
|
`notTested` entry and no question;
|
|
103
|
+
- for a free-text input, one case with a value the example used written another way, such as in
|
|
104
|
+
other case or with other spacing, punctuation or accents;
|
|
103
105
|
- another case only where a different page structure or a real variant needs one, and each such
|
|
104
106
|
case sets as many inputs as still return rows: another retailer, store or seller; another
|
|
105
107
|
category; a record whose page is laid out differently (a single option, grouped options, a
|