@wenathlan/devthink 2.0.15 → 2.0.20
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 +54 -0
- package/{dist/bridge.d.ts → bridge.d.ts} +1 -1
- package/bridge.d.ts.map +1 -0
- package/bridge.js +1877 -0
- package/bun.d.ts.map +1 -0
- package/bun.js +52329 -0
- package/caps/background.json +712 -0
- package/caps/cli.json +360 -0
- package/caps/library.json +3611 -0
- package/caps/mcp.json +126 -0
- package/caps/pagebridge.json +377 -0
- package/caps/popup.json +51 -0
- package/caps/sidepanel.json +522 -0
- package/checksums.txt +142 -0
- package/cli.d.ts.map +1 -0
- package/{dist/cli.js → cli.js} +2 -2
- package/companion.d.ts.map +1 -0
- package/companion.js +389 -0
- package/crossbrowser.d.ts.map +1 -0
- package/crossbrowser.js +1191 -0
- package/dashdone.d.ts.map +1 -0
- package/dashdone.js +368 -0
- package/deno.d.ts.map +1 -0
- package/deno.js +52325 -0
- package/devthink.umd.js +52346 -0
- package/fixtures/bun.ts +7 -0
- package/fixtures/cjs.js +6 -0
- package/fixtures/deno.ts +6 -0
- package/fixtures/example-org-pagestate.json +22 -0
- package/fixtures/importers/automa-workflow.json +18 -0
- package/fixtures/importers/selenium-side.json +20 -0
- package/fixtures/importers/tabular-plan.csv +7 -0
- package/fixtures/importers/uivision-macro.json +10 -0
- package/fixtures/importers/v1-plan.json +13 -0
- package/fixtures/mcp-client.mjs +14 -0
- package/fixtures/pages/checkout.html +192 -0
- package/fixtures/pages/dashboard.html +110 -0
- package/fixtures/pages/feed.html +113 -0
- package/fixtures/pages/product-grid.html +150 -0
- package/fixtures/plans/form-inventory-plan.json +11 -0
- package/fixtures/plans/release-notes-plan.json +11 -0
- package/fixtures/recipes/agentscompete.json +11 -0
- package/fixtures/recipes/agentsforms.json +11 -0
- package/fixtures/recipes/agentsmonitor.json +11 -0
- package/fixtures/recipes/agentsreview.json +29 -0
- package/fixtures/recipes/agentswarm.json +11 -0
- package/fixtures/recipes/fillcalendar.json +12 -0
- package/fixtures/recipes/fillcheckout.json +13 -0
- package/fixtures/recipes/filldependentdropdowns.json +12 -0
- package/fixtures/recipes/fillfromcsv.json +13 -0
- package/fixtures/recipes/fillloginform.json +12 -0
- package/fixtures/recipes/fillmultistepwizard.json +13 -0
- package/fixtures/recipes/fillregistration.json +12 -0
- package/fixtures/recipes/fillsearchfilters.json +12 -0
- package/fixtures/recipes/filltypeahead.json +11 -0
- package/fixtures/recipes/monitoralerts.json +12 -0
- package/fixtures/recipes/monitoravailability.json +11 -0
- package/fixtures/recipes/monitornetworkquiet.json +12 -0
- package/fixtures/recipes/monitorpagechanges.json +11 -0
- package/fixtures/recipes/monitorpricechange.json +11 -0
- package/fixtures/recipes/monitorschedule.json +12 -0
- package/fixtures/recipes/scrapedynamicprices.json +13 -0
- package/fixtures/recipes/scrapeimagegallery.json +12 -0
- package/fixtures/recipes/scrapeinfinitefeed.json +13 -0
- package/fixtures/recipes/scrapenestedlists.json +12 -0
- package/fixtures/recipes/scrapeproductgrid.json +12 -0
- package/fixtures/recipes/scrapereviews.json +12 -0
- package/fixtures/recipes/scrapesearchresults.json +12 -0
- package/fixtures/recipes/scrapetablepagination.json +12 -0
- package/fixtures/recipes/testaccessibility.json +34 -0
- package/fixtures/recipes/testconsoleerrors.json +12 -0
- package/fixtures/recipes/testdeeplinks.json +12 -0
- package/fixtures/recipes/testformvalidation.json +13 -0
- package/fixtures/recipes/testlayoutshift.json +12 -0
- package/fixtures/recipes/testlinkcheck.json +12 -0
- package/fixtures/recipes/testloadtiming.json +12 -0
- package/fixtures/recipes/testvisualdiff.json +12 -0
- package/fixtures/workflows/changelog-digest-workflow.json +13 -0
- package/fixtures/workflows/form-survey-workflow.json +13 -0
- package/gallery.json +706 -0
- package/hardening.d.ts.map +1 -0
- package/hardening.js +188 -0
- package/headless.d.ts.map +1 -0
- package/headless.js +11522 -0
- package/http.d.ts.map +1 -0
- package/http.js +2165 -0
- package/index.cjs +54682 -0
- package/index.d.ts.map +1 -0
- package/index.js +52310 -0
- package/index.neutral.js +46343 -0
- package/{web/manifest.json → manifest.json} +1 -1
- package/mcp.d.ts.map +1 -0
- package/mcp.js +20515 -0
- package/memory.d.ts.map +1 -0
- package/{memory.ts → memory.js} +2310 -3834
- package/nativehost.template.json +10 -0
- package/node.cjs +54686 -0
- package/node.d.ts.map +1 -0
- package/pack.d.ts.map +1 -0
- package/pack.js +805 -0
- package/package.json +83 -176
- package/policy.d.ts.map +1 -0
- package/{policy.ts → policy.js} +4679 -5073
- package/progress.d.ts.map +1 -0
- package/progress.js +645 -0
- package/protocol.d.ts.map +1 -0
- package/protocol.js +8334 -0
- package/schemas/audit.schema.json +226 -0
- package/schemas/capability.schema.json +113 -0
- package/schemas/envelope.schema.json +162 -0
- package/schemas/memory.schema.json +51 -0
- package/schemas/observation.schema.json +113 -0
- package/schemas/plan.schema.json +208 -0
- package/schemas/progress.schema.json +126 -0
- package/schemas/proposal.schema.json +68 -0
- package/schemas/session.schema.json +82 -0
- package/schemas/tool.schema.json +94 -0
- package/server.d.ts.map +1 -0
- package/server.js +28877 -0
- package/umd-example.html +18 -0
- package/umd.d.ts.map +1 -0
- package/accounts.ts +0 -2087
- package/agent.ts +0 -2331
- package/antigravity.ts +0 -2139
- package/apifreeze.ts +0 -4146
- package/auth.ts +0 -642
- package/background.ts +0 -16837
- package/bridge.ts +0 -2080
- package/build.ts +0 -54
- package/bun.ts +0 -26
- package/capture.ts +0 -1614
- package/checksecrets.ts +0 -72
- package/cjs.ts +0 -9
- package/cli.ts +0 -3500
- package/commands.ts +0 -1101
- package/companion.ts +0 -450
- package/compatibility.ts +0 -37
- package/config.ts +0 -3137
- package/constants.ts +0 -943
- package/core.ts +0 -1473
- package/crossbrowser.ts +0 -1359
- package/dashdone.ts +0 -605
- package/data.ts +0 -943
- package/database.ts +0 -133
- package/debug.ts +0 -850
- package/deno.ts +0 -27
- package/devthink.ts +0 -707
- package/dist/accounts.d.ts +0 -409
- package/dist/agent.d.ts +0 -837
- package/dist/antigravity.d.ts +0 -380
- package/dist/apifreeze.d.ts +0 -113
- package/dist/auth.d.ts +0 -224
- package/dist/capture.d.ts +0 -595
- package/dist/cjs.d.ts +0 -6
- package/dist/commands.d.ts +0 -310
- package/dist/compatibility.d.ts +0 -17
- package/dist/config.d.ts +0 -1853
- package/dist/constants.d.ts +0 -637
- package/dist/core.d.ts +0 -361
- package/dist/data.d.ts +0 -330
- package/dist/database.d.ts +0 -24
- package/dist/debug.d.ts +0 -270
- package/dist/engine.d.ts +0 -74
- package/dist/environments.d.ts +0 -244
- package/dist/evidence.d.ts +0 -277
- package/dist/export.d.ts +0 -311
- package/dist/fingerprint.d.ts +0 -594
- package/dist/flow.d.ts +0 -300
- package/dist/gates.d.ts +0 -103
- package/dist/identity.d.ts +0 -51
- package/dist/ids.d.ts +0 -7
- package/dist/llm.d.ts +0 -652
- package/dist/models.d.ts +0 -1807
- package/dist/net.d.ts +0 -325
- package/dist/neutral.d.ts +0 -41
- package/dist/oauth.d.ts +0 -703
- package/dist/page.d.ts +0 -1166
- package/dist/perf.d.ts +0 -481
- package/dist/plan.d.ts +0 -134
- package/dist/project.d.ts +0 -395
- package/dist/providers.d.ts +0 -37
- package/dist/quota.d.ts +0 -453
- package/dist/recovery.d.ts +0 -621
- package/dist/request.d.ts +0 -1492
- package/dist/run.d.ts +0 -779
- package/dist/runtime.d.ts +0 -212
- package/dist/search.d.ts +0 -375
- package/dist/security.d.ts +0 -534
- package/dist/serve.d.ts +0 -136
- package/dist/session.d.ts +0 -296
- package/dist/storage.d.ts +0 -53
- package/dist/streaming.d.ts +0 -1119
- package/dist/swarm.d.ts +0 -328
- package/dist/tools.d.ts +0 -170
- package/dist/types.d.ts +0 -8357
- package/dist/utils.d.ts +0 -82
- package/dist/version.d.ts +0 -7
- package/dist/versionregistry.d.ts +0 -406
- package/dist/views.d.ts +0 -579
- package/dist/workbenchsession.d.ts +0 -69
- package/dist/workflow.d.ts +0 -649
- package/docs/readme.md +0 -92
- package/docs/schemas/antigravity.json +0 -192
- package/engine.ts +0 -1524
- package/environments.ts +0 -1005
- package/evidence.ts +0 -643
- package/export.ts +0 -889
- package/fingerprint.ts +0 -1458
- package/flow.ts +0 -1190
- package/gates.ts +0 -307
- package/gateway.ts +0 -34
- package/hardening.ts +0 -191
- package/headless.ts +0 -369
- package/http.ts +0 -2110
- package/identity.ts +0 -246
- package/ids.ts +0 -26
- package/index.ts +0 -369
- package/llm.ts +0 -2682
- package/mcp.ts +0 -1835
- package/models.ts +0 -3805
- package/modes.ts +0 -43
- package/net.ts +0 -1214
- package/neutral.ts +0 -362
- package/node.ts +0 -26
- package/oauth.ts +0 -2216
- package/offscreen.ts +0 -170
- package/pack.ts +0 -956
- package/page.ts +0 -7824
- package/pagebridge.ts +0 -1116
- package/perf.ts +0 -957
- package/plan.ts +0 -672
- package/plugin.ts +0 -76
- package/prisma.config.ts +0 -27
- package/progress.ts +0 -1308
- package/project.ts +0 -1291
- package/protocol.ts +0 -4187
- package/providers.ts +0 -246
- package/quota.ts +0 -1887
- package/recovery.ts +0 -2433
- package/request.ts +0 -4482
- package/run.ts +0 -2135
- package/runtime.ts +0 -526
- package/search.ts +0 -1760
- package/security.ts +0 -1673
- package/serve.ts +0 -419
- package/server.ts +0 -5538
- package/session.ts +0 -1162
- package/storage.ts +0 -182
- package/streaming.ts +0 -4101
- package/swarm.ts +0 -884
- package/sync.ts +0 -56
- package/tests/agentcert.test.ts +0 -128
- package/tests/agentfleet.test.ts +0 -214
- package/tests/agentreview.test.ts +0 -241
- package/tests/agentstream.test.ts +0 -335
- package/tests/agentwork.test.ts +0 -356
- package/tests/apifreeze.test.ts +0 -290
- package/tests/apimap.test.ts +0 -112
- package/tests/approvalgate.test.ts +0 -175
- package/tests/artifactmanifest.test.ts +0 -204
- package/tests/attentionfeed.test.ts +0 -163
- package/tests/backgroundruns.test.ts +0 -100
- package/tests/batchscheduling.test.ts +0 -131
- package/tests/blackboard.test.ts +0 -238
- package/tests/bridge.test.ts +0 -1088
- package/tests/browsercoverage.test.ts +0 -134
- package/tests/browserpolyfills.test.ts +0 -124
- package/tests/build.mjs +0 -1260
- package/tests/clientauth.test.ts +0 -223
- package/tests/clitools.test.ts +0 -578
- package/tests/confirmgates.test.ts +0 -190
- package/tests/containerpack.test.ts +0 -143
- package/tests/controlflow.test.ts +0 -2120
- package/tests/coordination.test.ts +0 -345
- package/tests/copyscreen.test.ts +0 -139
- package/tests/core.test.ts +0 -417
- package/tests/costcert.test.ts +0 -95
- package/tests/crossbrowser.test.ts +0 -115
- package/tests/cspaudit.test.ts +0 -79
- package/tests/dashdone.test.ts +0 -615
- package/tests/datagrid.test.ts +0 -137
- package/tests/doccheck.test.ts +0 -107
- package/tests/dombatch.test.ts +0 -109
- package/tests/emulation.test.ts +0 -282
- package/tests/environments.test.ts +0 -259
- package/tests/evidenceviews.test.ts +0 -88
- package/tests/exporttools.test.ts +0 -185
- package/tests/firefoxprep.test.ts +0 -134
- package/tests/flowlibrary.test.ts +0 -242
- package/tests/flowrun.test.ts +0 -303
- package/tests/forensics.test.ts +0 -439
- package/tests/gateway.test.ts +0 -939
- package/tests/headlesslib.test.ts +0 -171
- package/tests/httpstream.test.ts +0 -277
- package/tests/immutablelog.test.ts +0 -157
- package/tests/inboundguard.test.ts +0 -177
- package/tests/lazyload.test.ts +0 -72
- package/tests/librarymodes.test.ts +0 -623
- package/tests/llm.test.ts +0 -696
- package/tests/manifest.test.ts +0 -226
- package/tests/maskinputs.test.ts +0 -150
- package/tests/matrixverify.test.ts +0 -111
- package/tests/mavenpack.test.ts +0 -75
- package/tests/mcpserver.test.ts +0 -704
- package/tests/memory.test.ts +0 -4155
- package/tests/memorycare.test.ts +0 -230
- package/tests/migrateplan.test.ts +0 -349
- package/tests/minimization.test.ts +0 -414
- package/tests/modelroute.test.ts +0 -112
- package/tests/multiagent.test.ts +0 -440
- package/tests/nativebridge.test.ts +0 -807
- package/tests/navigation.test.ts +0 -284
- package/tests/nugetpack.test.ts +0 -83
- package/tests/orchestration.test.ts +0 -449
- package/tests/originpolicy.test.ts +0 -405
- package/tests/outputcompare.test.ts +0 -97
- package/tests/package.test.ts +0 -91
- package/tests/pagebridge.test.ts +0 -5909
- package/tests/pentest.test.ts +0 -75
- package/tests/perfrecords.test.ts +0 -257
- package/tests/permdiff.test.ts +0 -85
- package/tests/phishguard.test.ts +0 -128
- package/tests/pickerviews.test.ts +0 -155
- package/tests/pipelines.test.ts +0 -381
- package/tests/planlint.test.ts +0 -240
- package/tests/planreview.test.ts +0 -383
- package/tests/platformtargets.test.ts +0 -56
- package/tests/policy.test.ts +0 -8284
- package/tests/portability.test.ts +0 -96
- package/tests/progress.test.ts +0 -1036
- package/tests/promptlibrary.test.ts +0 -116
- package/tests/protocol.test.ts +0 -4793
- package/tests/publishingpipeline.test.ts +0 -314
- package/tests/quickactions.test.ts +0 -164
- package/tests/readiness.test.ts +0 -78
- package/tests/recipes.test.ts +0 -163
- package/tests/redactshots.test.ts +0 -216
- package/tests/registernvidiakeys.ts +0 -51
- package/tests/relayserve.test.ts +0 -304
- package/tests/releasenotes.test.ts +0 -276
- package/tests/resilience.test.ts +0 -467
- package/tests/resourceaware.test.ts +0 -187
- package/tests/runbudget.test.ts +0 -125
- package/tests/runhistory.test.ts +0 -299
- package/tests/runreplay.test.ts +0 -113
- package/tests/runresume.test.ts +0 -184
- package/tests/runstate.test.ts +0 -288
- package/tests/runtimeadapters.test.ts +0 -251
- package/tests/safariskeleton.test.ts +0 -115
- package/tests/sandboxframe.test.ts +0 -196
- package/tests/sbom.test.ts +0 -105
- package/tests/secretvault.test.ts +0 -188
- package/tests/selcache.test.ts +0 -111
- package/tests/sessioninterface.test.ts +0 -791
- package/tests/sessions.test.ts +0 -591
- package/tests/siteprefs.test.ts +0 -228
- package/tests/snapshotdelta.test.ts +0 -165
- package/tests/statusviews.test.ts +0 -237
- package/tests/stepmeter.test.ts +0 -200
- package/tests/streamparse.test.ts +0 -163
- package/tests/stylepruning.test.ts +0 -90
- package/tests/surfaces.test.ts +0 -282
- package/tests/sweep.test.ts +0 -78
- package/tests/syncbridge.test.ts +0 -164
- package/tests/taskqueue.test.ts +0 -206
- package/tests/toolcalls.test.ts +0 -336
- package/tests/toolcatalog.test.ts +0 -201
- package/tests/torture-agent.test.ts +0 -706
- package/tests/torture-auth.test.ts +0 -461
- package/tests/torture-commands.test.ts +0 -895
- package/tests/torture-data.test.ts +0 -923
- package/tests/torture-environments.test.ts +0 -285
- package/tests/torture-export.test.ts +0 -263
- package/tests/torture-http.test.ts +0 -1379
- package/tests/torture-llm.test.ts +0 -808
- package/tests/torture-memory.test.ts +0 -1084
- package/tests/torture-plan.test.ts +0 -829
- package/tests/torture-run.test.ts +0 -626
- package/tests/torture-session.test.ts +0 -928
- package/tests/torture-swarm.test.ts +0 -1245
- package/tests/torture-tools.test.ts +0 -964
- package/tests/torture-workflow.test.ts +0 -2354
- package/tests/tourviews.test.ts +0 -52
- package/tests/transparency.test.ts +0 -147
- package/tests/trigger.test.ts +0 -941
- package/tests/v1sunset.test.ts +0 -428
- package/tests/virtlist.test.ts +0 -94
- package/tests/vision.test.ts +0 -540
- package/tests/vsixpack.test.ts +0 -145
- package/tests/webapi.test.ts +0 -523
- package/tests/workflow.test.ts +0 -1785
- package/tests/workfloweditor.test.ts +0 -759
- package/tests/xpipack.test.ts +0 -128
- package/tools.ts +0 -734
- package/types.ts +0 -9908
- package/umd.ts +0 -9
- package/utils.ts +0 -249
- package/version.ts +0 -8
- package/versionregistry.ts +0 -1310
- package/views.ts +0 -2153
- package/vitest.config.ts +0 -12
- package/web/App.tsx +0 -78
- package/web/README.md +0 -47
- package/web/capacitor.config.ts +0 -46
- package/web/const.ts +0 -19
- package/web/control.shell.tsx +0 -66
- package/web/dashboardpage.ts +0 -554
- package/web/db.ts +0 -493
- package/web/design.html +0 -541
- package/web/gatewayview/Gateway.tsx +0 -345
- package/web/gatewayview/config.ts +0 -1042
- package/web/gatewayview/definition.ts +0 -174
- package/web/icons.ts +0 -15
- package/web/optionspage.ts +0 -691
- package/web/popup.ts +0 -1651
- package/web/schema.prisma +0 -176
- package/web/sidepanel.ts +0 -7941
- package/web/sitemanifest.json +0 -13
- package/web/terminal-ui.tsx +0 -622
- package/web/transparencypage.ts +0 -541
- package/web/vite.config.ts +0 -39
- package/web/workspace.ts +0 -23
- package/workbenchmemory.ts +0 -104
- package/workbenchsession.ts +0 -304
- package/workflow.ts +0 -4495
- /package/{dist/bun.d.ts → bun.d.ts} +0 -0
- /package/{dist/cli.d.ts → cli.d.ts} +0 -0
- /package/{dist/companion.d.ts → companion.d.ts} +0 -0
- /package/{dist/crossbrowser.d.ts → crossbrowser.d.ts} +0 -0
- /package/{dist/dashdone.d.ts → dashdone.d.ts} +0 -0
- /package/{dist/deno.d.ts → deno.d.ts} +0 -0
- /package/{dist/hardening.d.ts → hardening.d.ts} +0 -0
- /package/{dist/headless.d.ts → headless.d.ts} +0 -0
- /package/{dist/http.d.ts → http.d.ts} +0 -0
- /package/{dist/index.d.ts → index.d.ts} +0 -0
- /package/{dist/mcp.d.ts → mcp.d.ts} +0 -0
- /package/{dist/memory.d.ts → memory.d.ts} +0 -0
- /package/{dist/node.d.ts → node.d.ts} +0 -0
- /package/{dist/pack.d.ts → pack.d.ts} +0 -0
- /package/{dist/policy.d.ts → policy.d.ts} +0 -0
- /package/{dist/progress.d.ts → progress.d.ts} +0 -0
- /package/{dist/protocol.d.ts → protocol.d.ts} +0 -0
- /package/{dist/server.d.ts → server.d.ts} +0 -0
- /package/{dist/umd.d.ts → umd.d.ts} +0 -0
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
6
|
+
<title>Gallery fixture product grid</title>
|
|
7
|
+
<meta name="description" content="The product grid fixture page of the devthink example gallery: pagination, lazy images, a price table, a review list, an image gallery, a filter form and a typeahead search.">
|
|
8
|
+
<!--
|
|
9
|
+
The product grid fixture page of the example gallery (local origin https://productgrid.test).
|
|
10
|
+
Self contained static html with inline styles and inline script: no remote resource loads,
|
|
11
|
+
no network fetch, no cookie, no storage key. The page exists so the scraping, forms, testing
|
|
12
|
+
and agent recipes have one reviewable local target that mirrors a store listing.
|
|
13
|
+
-->
|
|
14
|
+
<style>
|
|
15
|
+
:root { color-scheme: light; font-family: system-ui, sans-serif; }
|
|
16
|
+
body { margin: 0 auto; max-width: 860px; padding: 16px; color: #17202e; }
|
|
17
|
+
header h1 { font-size: 22px; margin: 4px 0; }
|
|
18
|
+
header p { color: #56637a; margin: 4px 0 18px; }
|
|
19
|
+
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
|
|
20
|
+
.product-grid article { border: 1px solid #d5dce8; border-radius: 8px; padding: 10px; }
|
|
21
|
+
.product-grid article h3 { font-size: 15px; margin: 0 0 6px; }
|
|
22
|
+
.product-grid article p { margin: 2px 0; color: #56637a; font-size: 13px; }
|
|
23
|
+
.pagination { display: flex; gap: 6px; margin: 16px 0; }
|
|
24
|
+
.pagination button { border: 1px solid #c6cedd; background: #f5f7fb; border-radius: 6px; padding: 6px 12px; cursor: pointer; }
|
|
25
|
+
.pagination button[aria-current="true"] { background: #17202e; color: #fff; border-color: #17202e; }
|
|
26
|
+
table.price-table { border-collapse: collapse; width: 100%; margin: 10px 0 20px; }
|
|
27
|
+
table.price-table th, table.price-table td { border: 1px solid #d5dce8; padding: 6px 10px; text-align: left; font-size: 14px; }
|
|
28
|
+
.review-list blockquote { margin: 8px 0; padding: 8px 12px; border-left: 3px solid #74e8c1; background: #f5f7fb; font-size: 14px; }
|
|
29
|
+
.gallery { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 20px; }
|
|
30
|
+
.gallery img { width: 120px; height: 90px; border-radius: 8px; border: 1px solid #d5dce8; }
|
|
31
|
+
form.filter-form, form.login-free { display: grid; gap: 8px; max-width: 380px; margin: 12px 0 22px; }
|
|
32
|
+
label { font-size: 13px; color: #56637a; }
|
|
33
|
+
input, select { padding: 7px 9px; border: 1px solid #c6cedd; border-radius: 6px; font-size: 14px; }
|
|
34
|
+
button { padding: 8px 14px; border: 1px solid #17202e; background: #17202e; color: #fff; border-radius: 6px; cursor: pointer; }
|
|
35
|
+
.search { max-width: 420px; }
|
|
36
|
+
.search ul { border: 1px solid #c6cedd; border-radius: 6px; margin: 4px 0 20px; padding: 0; list-style: none; }
|
|
37
|
+
.search ul li { padding: 6px 10px; font-size: 14px; }
|
|
38
|
+
footer p { color: #56637a; font-size: 12px; }
|
|
39
|
+
</style>
|
|
40
|
+
</head>
|
|
41
|
+
<body>
|
|
42
|
+
<header>
|
|
43
|
+
<h1>Fixture store product grid</h1>
|
|
44
|
+
<p>The local gallery fixture of the devthink example recipes: pagination, lazy images, a price table, reviews, an image gallery, filters and typeahead search.</p>
|
|
45
|
+
</header>
|
|
46
|
+
<div class="search">
|
|
47
|
+
<label for="typeahead">Search products</label>
|
|
48
|
+
<input id="typeahead" name="typeahead" type="search" placeholder="lumen desk lamp" autocomplete="off" aria-describedby="typeaheadhint">
|
|
49
|
+
<p id="typeaheadhint" hidden>Suggestions appear as you type.</p>
|
|
50
|
+
<ul id="suggestions" hidden></ul>
|
|
51
|
+
</div>
|
|
52
|
+
<form class="filter-form" aria-label="Product filters">
|
|
53
|
+
<label for="category">Category</label>
|
|
54
|
+
<input id="category" name="category" value="lamps">
|
|
55
|
+
<label for="maxprice">Maximum price</label>
|
|
56
|
+
<input id="maxprice" name="maxprice" type="number" min="1" value="120">
|
|
57
|
+
<button type="button" id="applyfilters">Apply filters</button>
|
|
58
|
+
</form>
|
|
59
|
+
<main>
|
|
60
|
+
<section aria-label="Product grid">
|
|
61
|
+
<div class="product-grid" id="grid">
|
|
62
|
+
<article><h3>Lumen desk lamp</h3><p>$89.00 — warm dimmable light</p><a href="#grid">Details</a></article>
|
|
63
|
+
<article><h3>Harbor shelf</h3><p>$45.00 — oak finish</p><a href="#grid">Details</a></article>
|
|
64
|
+
<article><h3>North chair</h3><p>$120.00 — felt seat</p><a href="#grid">Details</a></article>
|
|
65
|
+
<article><h3>Cove blanket</h3><p>$32.00 — wool weave</p><a href="#grid">Details</a></article>
|
|
66
|
+
<article><h3>Fjord kettle</h3><p>$58.00 — steel body</p><a href="#grid">Details</a></article>
|
|
67
|
+
<article><h3>Atlas clock</h3><p>$27.00 — silent sweep</p><a href="#grid">Details</a></article>
|
|
68
|
+
</div>
|
|
69
|
+
<nav class="pagination" aria-label="Grid pagination">
|
|
70
|
+
<button type="button" data-page="1" aria-current="true">Page 1</button>
|
|
71
|
+
<button type="button" data-page="2">Page 2</button>
|
|
72
|
+
<button type="button" data-page="3">Page 3</button>
|
|
73
|
+
</nav>
|
|
74
|
+
</section>
|
|
75
|
+
<section aria-label="Price table">
|
|
76
|
+
<table class="price-table">
|
|
77
|
+
<caption>Current fixture prices</caption>
|
|
78
|
+
<thead><tr><th scope="col">Product</th><th scope="col">Price</th><th scope="col">Stock</th></tr></thead>
|
|
79
|
+
<tbody>
|
|
80
|
+
<tr><td>Lumen desk lamp</td><td>$89.00</td><td>12</td></tr>
|
|
81
|
+
<tr><td>Harbor shelf</td><td>$45.00</td><td>8</td></tr>
|
|
82
|
+
<tr><td>North chair</td><td>$120.00</td><td>3</td></tr>
|
|
83
|
+
<tr><td>Cove blanket</td><td>$32.00</td><td>20</td></tr>
|
|
84
|
+
<tr><td>Fjord kettle</td><td>$58.00</td><td>0</td></tr>
|
|
85
|
+
<tr><td>Atlas clock</td><td>$27.00</td><td>15</td></tr>
|
|
86
|
+
</tbody>
|
|
87
|
+
</table>
|
|
88
|
+
</section>
|
|
89
|
+
<section aria-label="Product image gallery">
|
|
90
|
+
<h2>Image gallery</h2>
|
|
91
|
+
<div class="gallery">
|
|
92
|
+
<img src="data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='90'%3E%3Crect width='120' height='90' fill='%2374e8c1'/%3E%3C/svg%3E" data-name="lumen-desk-lamp" alt="Lumen desk lamp product image" loading="lazy">
|
|
93
|
+
<img src="data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='90'%3E%3Crect width='120' height='90' fill='%23ffd166'/%3E%3C/svg%3E" data-name="harbor-shelf" alt="Harbor shelf product image" loading="lazy">
|
|
94
|
+
<img src="data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='90'%3E%3Crect width='120' height='90' fill='%23ff7b8e'/%3E%3C/svg%3E" data-name="north-chair" alt="North chair product image" loading="lazy">
|
|
95
|
+
<img src="data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='90'%3E%3Crect width='120' height='90' fill='%239ae6b4'/%3E%3C/svg%3E" data-name="cove-blanket" alt="Cove blanket product image" loading="lazy">
|
|
96
|
+
</div>
|
|
97
|
+
</section>
|
|
98
|
+
<section aria-label="Product reviews">
|
|
99
|
+
<h2>Reviews</h2>
|
|
100
|
+
<div class="review-list">
|
|
101
|
+
<blockquote>The lamp dims smoothly and the finish feels solid.</blockquote>
|
|
102
|
+
<blockquote>Shipping was quick and the shelf holds its weight.</blockquote>
|
|
103
|
+
<blockquote>The clock runs silently, exactly as described.</blockquote>
|
|
104
|
+
</div>
|
|
105
|
+
</section>
|
|
106
|
+
</main>
|
|
107
|
+
<footer>
|
|
108
|
+
<p>Fixture page of the devthink example gallery — local origin https://productgrid.test, no remote resource, no storage, no cookie.</p>
|
|
109
|
+
</footer>
|
|
110
|
+
<script>
|
|
111
|
+
/* The inline behavior of the fixture page: pagination swaps a data attribute, the filter
|
|
112
|
+
button reports the applied filters, and the typeahead input renders the suggestions list.
|
|
113
|
+
Everything stays local and deterministic; nothing leaves the page. */
|
|
114
|
+
(function () {
|
|
115
|
+
"use strict";
|
|
116
|
+
var grid = document.getElementById("grid");
|
|
117
|
+
var pager = document.querySelectorAll(".pagination button");
|
|
118
|
+
var filters = document.getElementById("applyfilters");
|
|
119
|
+
var typeahead = document.getElementById("typeahead");
|
|
120
|
+
var hint = document.getElementById("typeaheadhint");
|
|
121
|
+
var suggestions = document.getElementById("suggestions");
|
|
122
|
+
var products = ["lumen desk lamp", "harbor shelf", "north chair", "cove blanket", "fjord kettle", "atlas clock"];
|
|
123
|
+
for (var index = 0; index < pager.length; index += 1) {
|
|
124
|
+
pager[index].addEventListener("click", function (event) {
|
|
125
|
+
for (var other = 0; other < pager.length; other += 1) pager[other].removeAttribute("aria-current");
|
|
126
|
+
event.target.setAttribute("aria-current", "true");
|
|
127
|
+
if (grid) grid.setAttribute("data-page", event.target.getAttribute("data-page"));
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
if (filters) filters.addEventListener("click", function () {
|
|
131
|
+
if (grid) grid.setAttribute("data-filtered", "true");
|
|
132
|
+
});
|
|
133
|
+
if (typeahead) typeahead.addEventListener("input", function () {
|
|
134
|
+
var query = typeahead.value.trim().toLowerCase();
|
|
135
|
+
if (hint) hint.hidden = query === "";
|
|
136
|
+
if (suggestions) {
|
|
137
|
+
suggestions.replaceChildren();
|
|
138
|
+
var matches = products.filter(function (product) { return product.indexOf(query) >= 0; }).slice(0, 3);
|
|
139
|
+
for (var match = 0; match < matches.length; match += 1) {
|
|
140
|
+
var item = document.createElement("li");
|
|
141
|
+
item.textContent = matches[match];
|
|
142
|
+
suggestions.append(item);
|
|
143
|
+
}
|
|
144
|
+
suggestions.hidden = matches.length === 0;
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
})();
|
|
148
|
+
</script>
|
|
149
|
+
</body>
|
|
150
|
+
</html>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "1.1.79",
|
|
3
|
+
"goal": "Inventory the contact form of the example project",
|
|
4
|
+
"origin": "https://example.org",
|
|
5
|
+
"grants": ["observe", "readforms", "inspect"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the contact page" },
|
|
8
|
+
{ "id": "forms", "kind": "readforms", "label": "Read the contact form controls" },
|
|
9
|
+
{ "id": "inspect", "kind": "inspect", "label": "Inspect the interactive elements", "target": "form" }
|
|
10
|
+
]
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "1.1.79",
|
|
3
|
+
"goal": "Read the release notes of the example project",
|
|
4
|
+
"origin": "https://example.org",
|
|
5
|
+
"grants": ["observe", "readtext", "countelements"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the release page" },
|
|
8
|
+
{ "id": "read", "kind": "readtext", "label": "Read the release notes text", "target": "main" },
|
|
9
|
+
{ "id": "count", "kind": "countelements", "label": "Count the release sections", "target": "main section" }
|
|
10
|
+
]
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Run the competing extraction agents over the gallery fixture store",
|
|
4
|
+
"origin": "https://productgrid.test",
|
|
5
|
+
"grants": ["observe", "parallel", "readtext", "scrapetable", "exportjson"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the store page for the competing agents" },
|
|
8
|
+
{ "id": "compete", "kind": "parallel", "label": "Race the text read against the table scrape", "options": "{\"parallel\":{\"branches\":[{\"id\":\"textagent\",\"steps\":[{\"id\":\"gridtext\",\"kind\":\"readtext\",\"label\":\"Read the grid copy\",\"target\":\".product-grid article h3\"}]},{\"id\":\"tableagent\",\"steps\":[{\"id\":\"pricetable\",\"kind\":\"scrapetable\",\"label\":\"Scrape the price table\",\"target\":\"table.price-table\"}]}],\"join\":{\"strategy\":\"first\",\"onfail\":\"continue\"}}}" },
|
|
9
|
+
{ "id": "export", "kind": "exportjson", "label": "Export the winning extraction", "gate": true, "options": "{\"name\":\"compete-result\"}" }
|
|
10
|
+
]
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Run the parallel form fill over the gallery fixture checkout",
|
|
4
|
+
"origin": "https://checkout.test",
|
|
5
|
+
"grants": ["observe", "parallel", "fillform", "submit"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the forms for the parallel fill" },
|
|
8
|
+
{ "id": "forms", "kind": "parallel", "label": "Fill the login and registration forms in parallel", "options": "{\"parallel\":{\"branches\":[{\"id\":\"loginlane\",\"steps\":[{\"id\":\"loginfill\",\"kind\":\"fillform\",\"label\":\"Fill the login form\",\"target\":\"form.login-form\"}]},{\"id\":\"registerlane\",\"steps\":[{\"id\":\"registerfill\",\"kind\":\"fillform\",\"label\":\"Fill the registration form\",\"target\":\"form.registration-form\"}]}],\"join\":{\"strategy\":\"last\",\"onfail\":\"continue\"}}}" },
|
|
9
|
+
{ "id": "submit", "kind": "submit", "label": "Submit the filled forms", "gate": true, "target": "form.login-form button" }
|
|
10
|
+
]
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Run the monitoring swarm over the gallery fixture feed",
|
|
4
|
+
"origin": "https://feed.test",
|
|
5
|
+
"grants": ["observe", "watchmutate", "parallel", "readtext", "readscrollpos"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the feed for the monitoring swarm" },
|
|
8
|
+
{ "id": "watch", "kind": "watchmutate", "label": "Watch the feed mutations" },
|
|
9
|
+
{ "id": "lanes", "kind": "parallel", "label": "Watch the feed text and the scroll position in parallel", "options": "{\"parallel\":{\"branches\":[{\"id\":\"textlane\",\"steps\":[{\"id\":\"feedtext\",\"kind\":\"readtext\",\"label\":\"Read the feed cards\",\"target\":\".feed article\"}]},{\"id\":\"scrolllane\",\"steps\":[{\"id\":\"scrollpos\",\"kind\":\"readscrollpos\",\"label\":\"Read the feed scroll position\"}]}],\"join\":{\"strategy\":\"first\",\"onfail\":\"cancel\"}}}" }
|
|
10
|
+
]
|
|
11
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Run the planner critic review over the gallery fixture extraction",
|
|
4
|
+
"origin": "https://productgrid.test",
|
|
5
|
+
"grants": [
|
|
6
|
+
"observe",
|
|
7
|
+
"readtable",
|
|
8
|
+
"condition"
|
|
9
|
+
],
|
|
10
|
+
"steps": [
|
|
11
|
+
{
|
|
12
|
+
"id": "observe",
|
|
13
|
+
"kind": "observe",
|
|
14
|
+
"label": "Observe the extraction under review"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"id": "table",
|
|
18
|
+
"kind": "readtable",
|
|
19
|
+
"label": "Read the extraction table",
|
|
20
|
+
"target": "table.price-table"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"id": "verdict",
|
|
24
|
+
"kind": "condition",
|
|
25
|
+
"label": "Grade the extraction verdict",
|
|
26
|
+
"options": "{\"condition\":{\"expression\":{\"left\":{\"literal\":1},\"operator\":\"less\",\"right\":{\"literal\":2},\"result\":\"verdict\",\"resultkind\":\"boolean\"}}}"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Run the multi agent scrape swarm over the gallery fixture store",
|
|
4
|
+
"origin": "https://productgrid.test",
|
|
5
|
+
"grants": ["observe", "parallel", "readtext", "countelements", "exportjson"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the store page for the swarm" },
|
|
8
|
+
{ "id": "swarm", "kind": "parallel", "label": "Scout the grid copy and ledger the cards in parallel", "options": "{\"parallel\":{\"branches\":[{\"id\":\"scout\",\"steps\":[{\"id\":\"grid\",\"kind\":\"readtext\",\"label\":\"Read the grid copy\",\"target\":\".product-grid article h3\"}]},{\"id\":\"ledger\",\"steps\":[{\"id\":\"cards\",\"kind\":\"countelements\",\"label\":\"Count the product cards\",\"target\":\".product-grid article\"}]}],\"join\":{\"strategy\":\"first\",\"onfail\":\"continue\"}}}" },
|
|
9
|
+
{ "id": "export", "kind": "exportjson", "label": "Export the swarm findings", "gate": true, "options": "{\"name\":\"swarm-findings\"}" }
|
|
10
|
+
]
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Fill the delivery calendar of the gallery fixture checkout",
|
|
4
|
+
"origin": "https://checkout.test",
|
|
5
|
+
"grants": ["observe", "readforms", "pickdate", "submit"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the delivery calendar" },
|
|
8
|
+
{ "id": "fields", "kind": "readforms", "label": "Read the calendar control" },
|
|
9
|
+
{ "id": "pick", "kind": "pickdate", "label": "Pick the delivery date", "gate": true, "target": "input[name=delivery]", "value": "2026-04-18" },
|
|
10
|
+
{ "id": "submit", "kind": "submit", "label": "Submit the delivery date", "gate": true, "target": "form.calendar-form button" }
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Fill the checkout wizard of the gallery fixture checkout",
|
|
4
|
+
"origin": "https://checkout.test",
|
|
5
|
+
"grants": ["observe", "readforms", "runwizard", "fillform", "submit"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the checkout wizard" },
|
|
8
|
+
{ "id": "fields", "kind": "readforms", "label": "Read the checkout form controls" },
|
|
9
|
+
{ "id": "wizard", "kind": "runwizard", "label": "Walk the checkout wizard steps", "gate": true, "options": "{\"steps\":[\"address\",\"shipping\",\"review\"]}" },
|
|
10
|
+
{ "id": "fill", "kind": "fillform", "label": "Fill the payment details", "gate": true, "target": "form.checkout-form", "options": "{\"fields\":[{\"name\":\"name\"},{\"name\":\"address\"},{\"name\":\"city\"},{\"name\":\"cardnumber\"}]}" },
|
|
11
|
+
{ "id": "submit", "kind": "submit", "label": "Submit the checkout form", "gate": true, "target": "form.checkout-form button" }
|
|
12
|
+
]
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Fill the dependent dropdowns of the gallery fixture checkout",
|
|
4
|
+
"origin": "https://checkout.test",
|
|
5
|
+
"grants": ["observe", "readforms", "selectchain", "submit"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the dependent dropdowns" },
|
|
8
|
+
{ "id": "fields", "kind": "readforms", "label": "Read the dropdown controls" },
|
|
9
|
+
{ "id": "chain", "kind": "selectchain", "label": "Select the region then the city", "gate": true, "target": "form.dropdown-form select", "options": "{\"chain\":[{\"select\":\"#region\",\"value\":\"north\"},{\"select\":\"#city\",\"value\":\"harbor\"}]}" },
|
|
10
|
+
{ "id": "submit", "kind": "submit", "label": "Submit the dropdown form", "gate": true, "target": "form.dropdown-form button" }
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Fill the csv driven form of the gallery fixture checkout",
|
|
4
|
+
"origin": "https://checkout.test",
|
|
5
|
+
"grants": ["importcsv", "looprows", "readforms", "fillform", "submit"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "rows", "kind": "importcsv", "label": "Import the address csv rows", "options": "{\"path\":\"gallery/checkout-addresses.csv\"}" },
|
|
8
|
+
{ "id": "iterate", "kind": "looprows", "label": "Iterate the csv rows" },
|
|
9
|
+
{ "id": "fields", "kind": "readforms", "label": "Read the csv driven form controls" },
|
|
10
|
+
{ "id": "fill", "kind": "fillform", "label": "Fill the form from the csv row", "gate": true, "target": "form.registration-form", "options": "{\"fields\":[{\"name\":\"fullname\"},{\"name\":\"email\"},{\"name\":\"phone\"}]}" },
|
|
11
|
+
{ "id": "submit", "kind": "submit", "label": "Submit the csv driven form", "gate": true, "target": "form.registration-form button" }
|
|
12
|
+
]
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Fill the consented login form of the gallery fixture checkout",
|
|
4
|
+
"origin": "https://checkout.test",
|
|
5
|
+
"grants": ["observe", "readforms", "fillform", "submit"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the login form" },
|
|
8
|
+
{ "id": "fields", "kind": "readforms", "label": "Read the login form controls" },
|
|
9
|
+
{ "id": "fill", "kind": "fillform", "label": "Fill the login credentials", "gate": true, "target": "form.login-form", "options": "{\"fields\":[{\"name\":\"email\"},{\"name\":\"password\"}]}" },
|
|
10
|
+
{ "id": "submit", "kind": "submit", "label": "Submit the login form", "gate": true, "target": "form.login-form button" }
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Fill the multi step delivery wizard of the gallery fixture checkout",
|
|
4
|
+
"origin": "https://checkout.test",
|
|
5
|
+
"grants": ["observe", "readforms", "runwizard", "fillform", "submit"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the delivery wizard" },
|
|
8
|
+
{ "id": "fields", "kind": "readforms", "label": "Read the wizard form controls" },
|
|
9
|
+
{ "id": "wizard", "kind": "runwizard", "label": "Walk the delivery wizard steps", "gate": true, "options": "{\"steps\":[\"address\",\"delivery\",\"confirm\"]}" },
|
|
10
|
+
{ "id": "fill", "kind": "fillform", "label": "Fill the delivery details", "gate": true, "target": "form.wizard-form", "options": "{\"fields\":[{\"name\":\"name\"},{\"name\":\"street\"},{\"name\":\"city\"}]}" },
|
|
11
|
+
{ "id": "submit", "kind": "submit", "label": "Submit the delivery wizard", "gate": true, "target": "form.wizard-form button" }
|
|
12
|
+
]
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Fill the registration form of the gallery fixture checkout",
|
|
4
|
+
"origin": "https://checkout.test",
|
|
5
|
+
"grants": ["observe", "readforms", "fillform", "submit"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the registration form" },
|
|
8
|
+
{ "id": "fields", "kind": "readforms", "label": "Read the registration controls" },
|
|
9
|
+
{ "id": "fill", "kind": "fillform", "label": "Fill the registration details", "gate": true, "target": "form.registration-form", "options": "{\"fields\":[{\"name\":\"fullname\"},{\"name\":\"email\"},{\"name\":\"phone\"}]}" },
|
|
10
|
+
{ "id": "submit", "kind": "submit", "label": "Submit the registration form", "gate": true, "target": "form.registration-form button" }
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Fill the search filters of the gallery fixture store",
|
|
4
|
+
"origin": "https://productgrid.test",
|
|
5
|
+
"grants": ["observe", "detectfields", "fillform", "click"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the search filters" },
|
|
8
|
+
{ "id": "fields", "kind": "detectfields", "label": "Detect the filter fields" },
|
|
9
|
+
{ "id": "fill", "kind": "fillform", "label": "Fill the filter values", "gate": true, "target": "form.filter-form", "options": "{\"fields\":[{\"name\":\"category\"},{\"name\":\"maxprice\"}]}" },
|
|
10
|
+
{ "id": "apply", "kind": "click", "label": "Apply the search filters", "gate": true, "target": "form.filter-form button" }
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Fill the typeahead search of the gallery fixture store",
|
|
4
|
+
"origin": "https://productgrid.test",
|
|
5
|
+
"grants": ["observe", "waitelement", "picktypeahead"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the typeahead search" },
|
|
8
|
+
{ "id": "ready", "kind": "waitelement", "label": "Wait for the search input", "target": ".search input", "options": "{\"wait\":1500}" },
|
|
9
|
+
{ "id": "pick", "kind": "picktypeahead", "label": "Pick the suggested product", "gate": true, "target": ".search input", "value": "lumen desk lamp" }
|
|
10
|
+
]
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Monitor the alert feed of the gallery fixture dashboard",
|
|
4
|
+
"origin": "https://dashboard.test",
|
|
5
|
+
"grants": ["observe", "watchconsole", "watchbanner", "readerrors"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the alerting dashboard" },
|
|
8
|
+
{ "id": "console", "kind": "watchconsole", "label": "Watch the console alerts" },
|
|
9
|
+
{ "id": "banner", "kind": "watchbanner", "label": "Watch the alert banners" },
|
|
10
|
+
{ "id": "errors", "kind": "readerrors", "label": "Read the alert report" }
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Monitor the availability of the gallery fixture dashboard",
|
|
4
|
+
"origin": "https://dashboard.test",
|
|
5
|
+
"grants": ["observe", "verifyvisible", "watchbanner"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the availability badge" },
|
|
8
|
+
{ "id": "badge", "kind": "verifyvisible", "label": "Verify the availability badge renders", "target": ".availability" },
|
|
9
|
+
{ "id": "banner", "kind": "watchbanner", "label": "Watch the status banners" }
|
|
10
|
+
]
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Monitor the network quiet of the gallery fixture dashboard",
|
|
4
|
+
"origin": "https://dashboard.test",
|
|
5
|
+
"grants": ["observe", "watchrequests", "waitquiet", "readerrors"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the busy dashboard" },
|
|
8
|
+
{ "id": "requests", "kind": "watchrequests", "label": "Watch the page requests" },
|
|
9
|
+
{ "id": "quiet", "kind": "waitquiet", "label": "Wait for the network quiet" },
|
|
10
|
+
{ "id": "errors", "kind": "readerrors", "label": "Read the error report" }
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Monitor the page changes of the gallery fixture feed",
|
|
4
|
+
"origin": "https://feed.test",
|
|
5
|
+
"grants": ["observe", "watchmutate", "diffsnapshots"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the changing feed" },
|
|
8
|
+
{ "id": "changes", "kind": "watchmutate", "label": "Watch the feed mutations" },
|
|
9
|
+
{ "id": "diff", "kind": "diffsnapshots", "label": "Diff the changing snapshots" }
|
|
10
|
+
]
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Monitor the price changes of the gallery fixture dashboard",
|
|
4
|
+
"origin": "https://dashboard.test",
|
|
5
|
+
"grants": ["observe", "readtext", "watchmutate"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the price ticker" },
|
|
8
|
+
{ "id": "prices", "kind": "readtext", "label": "Read the current prices", "target": ".price-ticker" },
|
|
9
|
+
{ "id": "changes", "kind": "watchmutate", "label": "Watch the price mutations" }
|
|
10
|
+
]
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Monitor the gallery fixture dashboard on its reviewed schedule",
|
|
4
|
+
"origin": "https://dashboard.test",
|
|
5
|
+
"grants": ["observe", "intervalrule", "readtext", "watchmutate"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the scheduled dashboard" },
|
|
8
|
+
{ "id": "cadence", "kind": "intervalrule", "label": "Run the reviewed monitoring interval", "gate": true, "options": "{\"interval\":300000}" },
|
|
9
|
+
{ "id": "prices", "kind": "readtext", "label": "Read the current prices", "target": ".price-ticker" },
|
|
10
|
+
{ "id": "changes", "kind": "watchmutate", "label": "Watch the price mutations" }
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Scrape the dynamic prices of the gallery fixture dashboard",
|
|
4
|
+
"origin": "https://dashboard.test",
|
|
5
|
+
"grants": ["observe", "waitelement", "readtext", "watchmutate", "exportcsv"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the live price ticker" },
|
|
8
|
+
{ "id": "settle", "kind": "waitelement", "label": "Wait for the ticker element", "target": ".price-ticker", "options": "{\"wait\":2000}" },
|
|
9
|
+
{ "id": "ticker", "kind": "readtext", "label": "Read the current prices", "target": ".price-ticker" },
|
|
10
|
+
{ "id": "changes", "kind": "watchmutate", "label": "Watch the price mutations" },
|
|
11
|
+
{ "id": "export", "kind": "exportcsv", "label": "Export the price series", "gate": true, "options": "{\"name\":\"price-series\"}" }
|
|
12
|
+
]
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Scrape the image gallery inventory of the gallery fixture store",
|
|
4
|
+
"origin": "https://productgrid.test",
|
|
5
|
+
"grants": ["observe", "readimages", "verifyvisible", "exportcsv"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the product image gallery" },
|
|
8
|
+
{ "id": "images", "kind": "readimages", "label": "Read the gallery image inventory" },
|
|
9
|
+
{ "id": "visible", "kind": "verifyvisible", "label": "Verify the gallery images render", "target": ".gallery img" },
|
|
10
|
+
{ "id": "export", "kind": "exportcsv", "label": "Export the asset manifest", "gate": true, "options": "{\"name\":\"gallery-assets\"}" }
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Scrape the infinite feed of the gallery fixture feed",
|
|
4
|
+
"origin": "https://feed.test",
|
|
5
|
+
"grants": ["observe", "detectinfinitescroll", "readscrollpos", "readtext", "exportjson"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the infinite feed" },
|
|
8
|
+
{ "id": "infinite", "kind": "detectinfinitescroll", "label": "Detect the infinite scroll sentinel" },
|
|
9
|
+
{ "id": "position", "kind": "readscrollpos", "label": "Read the feed scroll position" },
|
|
10
|
+
{ "id": "cards", "kind": "readtext", "label": "Read the feed cards", "target": ".feed article" },
|
|
11
|
+
{ "id": "export", "kind": "exportjson", "label": "Export the feed capture", "gate": true, "options": "{\"name\":\"feed-capture\"}" }
|
|
12
|
+
]
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Scrape the nested comment lists of the gallery fixture feed",
|
|
4
|
+
"origin": "https://feed.test",
|
|
5
|
+
"grants": ["observe", "detectlists", "readhtml", "exportexcel"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the nested comment tree" },
|
|
8
|
+
{ "id": "lists", "kind": "detectlists", "label": "Detect the nested list structure" },
|
|
9
|
+
{ "id": "tree", "kind": "readhtml", "label": "Read the comment tree markup", "target": ".comment-tree" },
|
|
10
|
+
{ "id": "export", "kind": "exportexcel", "label": "Export the tree outline", "gate": true, "options": "{\"name\":\"comment-tree-outline\"}" }
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Scrape the product grid of the gallery fixture store",
|
|
4
|
+
"origin": "https://productgrid.test",
|
|
5
|
+
"grants": ["observe", "countelements", "readtext", "exportjson"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the product grid page" },
|
|
8
|
+
{ "id": "cards", "kind": "countelements", "label": "Count the product cards", "target": ".product-grid article" },
|
|
9
|
+
{ "id": "titles", "kind": "readtext", "label": "Read the product titles", "target": ".product-grid article h3" },
|
|
10
|
+
{ "id": "export", "kind": "exportjson", "label": "Export the grid inventory", "gate": true, "options": "{\"name\":\"product-grid-inventory\"}" }
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Scrape the product reviews of the gallery fixture store",
|
|
4
|
+
"origin": "https://productgrid.test",
|
|
5
|
+
"grants": ["observe", "countelements", "readtext", "exportjson"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the review list" },
|
|
8
|
+
{ "id": "reviews", "kind": "countelements", "label": "Count the reviews", "target": ".review-list blockquote" },
|
|
9
|
+
{ "id": "text", "kind": "readtext", "label": "Read the review text", "target": ".review-list" },
|
|
10
|
+
{ "id": "export", "kind": "exportjson", "label": "Export the review digest", "gate": true, "options": "{\"name\":\"review-digest\"}" }
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Scrape the search results of the gallery fixture feed",
|
|
4
|
+
"origin": "https://feed.test",
|
|
5
|
+
"grants": ["observe", "readlinks", "readmeta", "exportjson"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the search results page" },
|
|
8
|
+
{ "id": "results", "kind": "readlinks", "label": "Read the result links" },
|
|
9
|
+
{ "id": "meta", "kind": "readmeta", "label": "Read the result metadata" },
|
|
10
|
+
{ "id": "export", "kind": "exportjson", "label": "Export the result set", "gate": true, "options": "{\"name\":\"search-results\"}" }
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"goal": "Scrape the paginated price table of the gallery fixture store",
|
|
4
|
+
"origin": "https://productgrid.test",
|
|
5
|
+
"grants": ["observe", "scrapetable", "countpages", "exportcsv"],
|
|
6
|
+
"steps": [
|
|
7
|
+
{ "id": "observe", "kind": "observe", "label": "Observe the paginated results table" },
|
|
8
|
+
{ "id": "table", "kind": "scrapetable", "label": "Scrape the price table", "target": "table.price-table" },
|
|
9
|
+
{ "id": "pages", "kind": "countpages", "label": "Count the pagination pages" },
|
|
10
|
+
{ "id": "export", "kind": "exportcsv", "label": "Export the table rows", "gate": true, "options": "{\"name\":\"price-table-rows\"}" }
|
|
11
|
+
]
|
|
12
|
+
}
|