create-pmos 0.332.0 → 0.334.0
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/package.json +106 -50
- package/payload/KIT-VERSION +1 -1
- package/payload/planning/evals/eval-calibration.md +1 -1
- package/payload/planning/okrs/health-budgets.md +1 -1
- package/payload/state/discoveries.md +1 -1
- package/workspace/briefing-premium-test.js +12 -0
- package/workspace/changelog.json +250 -111
- package/workspace/guide/briefing-premium.md +6 -4
- package/workspace/lib/kit-update.js +4 -3
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/premium-menu-rows-test.js +106 -0
- package/workspace/premium-vw-rec-test.js +11 -6
- package/workspace/public/pm/listen-sheet.js +3 -3
- package/workspace/public/pm/premium-brief.js +17 -5
- package/workspace/public/pm/premium-shell.js +3 -1
- package/workspace/public/pm/premium-vw-rec.css +3 -0
- package/workspace/public/pm/premium-vw-rec.js +17 -5
- package/workspace/public/pm/premium.css +19 -1
- package/workspace/public/pm/premium.js +14 -5
- package/workspace/test-lists/premium-menu-rows.json +9 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-pmos",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.334.0",
|
|
4
4
|
"description": "Scaffold the PMOS portable kit — run the PMOS product-management workflow (initiative → lane-fit spec → contract → build → three gates, with work-type lanes for features, research, maintenance, incidents, and content) entirely inside your own repo, with all state as git-versioned files. Includes `workflow-sweep`, which audits the state every board derives from and separates real defects from work you simply have not done. `create-pmos workspace` also installs + launches the local Terminal Workspace GUI. No database, no network, no telemetry.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"bin": {
|
|
@@ -32,227 +32,283 @@
|
|
|
32
32
|
"audit"
|
|
33
33
|
],
|
|
34
34
|
"pmosChanges": [
|
|
35
|
+
{
|
|
36
|
+
"v": "0.334.0",
|
|
37
|
+
"at": "2026-10-20T01:24:31.835Z",
|
|
38
|
+
"f": 2,
|
|
39
|
+
"prs": [
|
|
40
|
+
{
|
|
41
|
+
"n": 922,
|
|
42
|
+
"t": "The meeting sheet's During stage is the live capture while the Briefing records",
|
|
43
|
+
"s": "On the Briefing, while a note records or is paused, the meeting sheet's During part is the live capture itself."
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"v": "0.333.0",
|
|
49
|
+
"at": "2026-10-20T01:10:53.373Z",
|
|
50
|
+
"f": 2,
|
|
51
|
+
"prs": [
|
|
52
|
+
{
|
|
53
|
+
"n": 929,
|
|
54
|
+
"t": "What's new shows each PR's title and one clean sentence",
|
|
55
|
+
"s": "Each pull request shows its title in bold, such as \"Draw the premium calendar the way the console draws it\", with one clean sentence from its After: paragraph under it, such as \"The grid follows the console's Calendar.\""
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"n": 928,
|
|
59
|
+
"t": "Agent draft rows on the premium Briefing stay in premium",
|
|
60
|
+
"s": "An agent drafts row (driver-drafts, driver-blocked) opens the Briefing's own Agent proposals dialog, showing only that task's or initiative's proposals, with Keep, Send back and Drop, and a \"Show all proposals\" button."
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"n": 930,
|
|
64
|
+
"t": "Premium menus, console sheets and highlight tags no longer draw broken",
|
|
65
|
+
"s": "Menu rows grow with their text and keep their old height as the minimum."
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
},
|
|
35
69
|
{
|
|
36
70
|
"v": "0.332.0",
|
|
37
|
-
"at": "2026-10-
|
|
71
|
+
"at": "2026-10-20T01:00:38.017Z",
|
|
72
|
+
"f": 2,
|
|
38
73
|
"prs": [
|
|
39
74
|
{
|
|
40
75
|
"n": 927,
|
|
41
|
-
"
|
|
76
|
+
"t": "The Checker can no longer spend the whole daily cap",
|
|
77
|
+
"s": "The Checker gets a share of the cap."
|
|
42
78
|
}
|
|
43
79
|
]
|
|
44
80
|
},
|
|
45
81
|
{
|
|
46
82
|
"v": "0.331.0",
|
|
47
|
-
"at": "2026-10-20T00:
|
|
83
|
+
"at": "2026-10-20T00:14:54.448Z",
|
|
84
|
+
"f": 2,
|
|
48
85
|
"prs": [
|
|
49
86
|
{
|
|
50
|
-
"n":
|
|
51
|
-
"
|
|
87
|
+
"n": 926,
|
|
88
|
+
"t": "Count the meeting-prep read apart from Focus reads",
|
|
89
|
+
"s": "The prep read carries brief=1."
|
|
52
90
|
}
|
|
53
91
|
]
|
|
54
92
|
},
|
|
55
93
|
{
|
|
56
94
|
"v": "0.330.0",
|
|
57
|
-
"at": "2026-10-
|
|
95
|
+
"at": "2026-10-20T00:02:20.686Z",
|
|
96
|
+
"f": 2,
|
|
58
97
|
"prs": [
|
|
59
98
|
{
|
|
60
99
|
"n": 925,
|
|
61
|
-
"
|
|
100
|
+
"t": "Draw the premium calendar the way the console draws it",
|
|
101
|
+
"s": "The grid follows the console's Calendar."
|
|
62
102
|
},
|
|
63
103
|
{
|
|
64
104
|
"n": 917,
|
|
65
|
-
"
|
|
105
|
+
"t": "Updates and What's new in premium Settings, with a summary per published kit",
|
|
106
|
+
"s": "Premium Settings opens with Updates."
|
|
66
107
|
}
|
|
67
108
|
]
|
|
68
109
|
},
|
|
69
110
|
{
|
|
70
111
|
"v": "0.329.0",
|
|
71
112
|
"at": "2026-10-19T23:44:17.780Z",
|
|
113
|
+
"f": 2,
|
|
72
114
|
"prs": [
|
|
73
115
|
{
|
|
74
116
|
"n": 911,
|
|
75
|
-
"
|
|
117
|
+
"t": "Insights leads with an insight, the pinned dashboard on top, one paged list",
|
|
118
|
+
"s": "The page opens with an insight: the strongest finding across the board's measures, the reason with its numbers, two more findings, and Ask PMOS why / See the chart."
|
|
76
119
|
}
|
|
77
120
|
]
|
|
78
121
|
},
|
|
79
122
|
{
|
|
80
123
|
"v": "0.328.0",
|
|
81
124
|
"at": "2026-10-19T23:33:48.003Z",
|
|
125
|
+
"f": 2,
|
|
82
126
|
"prs": [
|
|
83
127
|
{
|
|
84
128
|
"n": 915,
|
|
85
|
-
"
|
|
129
|
+
"t": "Confluence and Google Doc pages in the premium viewer, with Read it now",
|
|
130
|
+
"s": "Both open as a tab in the premium viewer, showing only what PMOS holds."
|
|
86
131
|
}
|
|
87
132
|
]
|
|
88
133
|
},
|
|
89
134
|
{
|
|
90
135
|
"v": "0.327.0",
|
|
91
136
|
"at": "2026-10-19T23:09:42.241Z",
|
|
137
|
+
"f": 2,
|
|
92
138
|
"prs": [
|
|
93
139
|
{
|
|
94
|
-
"n":
|
|
95
|
-
"
|
|
140
|
+
"n": 921,
|
|
141
|
+
"t": "Meeting prep on the Before stage of the note sheet",
|
|
142
|
+
"s": "Before opens with a \"Prepared for this meeting\" box holding that brief: In short, What matters today (To settle in planning for a planning meeting) with each item's tag and date, Since the last one with its decisions…"
|
|
96
143
|
}
|
|
97
144
|
]
|
|
98
145
|
},
|
|
99
146
|
{
|
|
100
147
|
"v": "0.326.0",
|
|
101
148
|
"at": "2026-10-19T22:57:26.019Z",
|
|
149
|
+
"f": 2,
|
|
102
150
|
"prs": [
|
|
103
151
|
{
|
|
104
152
|
"n": 908,
|
|
105
|
-
"
|
|
153
|
+
"t": "The Jira backlog of a board as a viewer tab",
|
|
154
|
+
"s": "Open the backlog appears in the Board's Sprint dialog and on its sprint tab."
|
|
106
155
|
},
|
|
107
156
|
{
|
|
108
157
|
"n": 916,
|
|
109
|
-
"
|
|
158
|
+
"t": "Note recording in the premium viewer",
|
|
159
|
+
"s": "The Briefing's top bar has Record (an untitled note now) with an arrow listing today's meetings that can still be recorded, and New note."
|
|
110
160
|
},
|
|
111
161
|
{
|
|
112
162
|
"n": 910,
|
|
113
|
-
"
|
|
163
|
+
"t": "Hide whole-line HTML comments on the document page; log the S2 run",
|
|
164
|
+
"s": "A whole-line HTML comment is kept in the page as a hidden block and is never drawn."
|
|
114
165
|
}
|
|
115
166
|
]
|
|
116
167
|
},
|
|
117
168
|
{
|
|
118
169
|
"v": "0.325.0",
|
|
119
170
|
"at": "2026-10-19T22:48:34.964Z",
|
|
171
|
+
"f": 2,
|
|
120
172
|
"prs": [
|
|
121
173
|
{
|
|
122
174
|
"n": 912,
|
|
123
|
-
"
|
|
175
|
+
"t": "An initiative and its tasks open as viewer tabs",
|
|
176
|
+
"s": "The Board's initiative dialog (popup mode) and the initiative's own dialog have Open the full record, and a task's dialog has Open the initiative."
|
|
124
177
|
},
|
|
125
178
|
{
|
|
126
179
|
"n": 913,
|
|
127
|
-
"
|
|
180
|
+
"t": "Notes list in the premium dialog, a note beside it, one stage interface for the note sheet",
|
|
181
|
+
"s": "The Briefing's Calendar card has a Notes button (in the header on a wide screen; under the day on a phone, where the header has no room beside the full-calendar and fold buttons)."
|
|
128
182
|
}
|
|
129
183
|
]
|
|
130
184
|
},
|
|
131
185
|
{
|
|
132
186
|
"v": "0.324.0",
|
|
133
187
|
"at": "2026-10-19T22:31:07.298Z",
|
|
188
|
+
"f": 2,
|
|
134
189
|
"prs": [
|
|
135
190
|
{
|
|
136
191
|
"n": 914,
|
|
137
|
-
"
|
|
192
|
+
"t": "Slide editor in the premium viewer",
|
|
193
|
+
"s": "Read > Edit the slides (also on the report's document page) opens the same file as a Slides tab in the viewer."
|
|
138
194
|
},
|
|
139
195
|
{
|
|
140
196
|
"n": 918,
|
|
141
|
-
"
|
|
197
|
+
"t": "Presenter mode for the slide editor",
|
|
198
|
+
"s": "Present opens the presenter view from the prototype's conversation shell."
|
|
142
199
|
}
|
|
143
200
|
]
|
|
144
201
|
},
|
|
145
202
|
{
|
|
146
203
|
"v": "0.323.0",
|
|
147
204
|
"at": "2026-10-19T16:13:33.275Z",
|
|
205
|
+
"f": 2,
|
|
148
206
|
"prs": [
|
|
149
207
|
{
|
|
150
208
|
"n": 907,
|
|
151
|
-
"
|
|
209
|
+
"t": "The full calendar in the premium viewer, Day, Week and Month",
|
|
210
|
+
"s": "A button in the Calendar card's title row opens the calendar in the dialog, with Day, Week and Month, the arrows and Today."
|
|
152
211
|
}
|
|
153
212
|
]
|
|
154
213
|
},
|
|
155
214
|
{
|
|
156
215
|
"v": "0.322.0",
|
|
157
216
|
"at": "2026-10-19T15:37:38.371Z",
|
|
217
|
+
"f": 2,
|
|
158
218
|
"prs": [
|
|
159
219
|
{
|
|
160
220
|
"n": 904,
|
|
161
|
-
"
|
|
221
|
+
"t": "Jira ticket and sprint board as tabs of the premium viewer",
|
|
222
|
+
"s": "A Jira task opens its ticket in a second viewer tab."
|
|
162
223
|
}
|
|
163
224
|
]
|
|
164
225
|
},
|
|
165
226
|
{
|
|
166
227
|
"v": "0.321.0",
|
|
167
228
|
"at": "2026-10-19T15:28:55.229Z",
|
|
229
|
+
"f": 2,
|
|
168
230
|
"prs": [
|
|
169
231
|
{
|
|
170
232
|
"n": 903,
|
|
171
|
-
"
|
|
233
|
+
"t": "One markdown document page in the premium viewer, with agent edits and one Keep",
|
|
234
|
+
"s": "Any markdown file (a PRD, a new doc, a report cycle) opens as one page in a viewer tab beside the dialog: title, byline from the edit log, a properties table from the front matter, then panels, tables, task lists…"
|
|
172
235
|
}
|
|
173
236
|
]
|
|
174
237
|
},
|
|
175
238
|
{
|
|
176
239
|
"v": "0.320.0",
|
|
177
240
|
"at": "2026-10-19T15:12:24.143Z",
|
|
241
|
+
"f": 2,
|
|
178
242
|
"prs": [
|
|
179
243
|
{
|
|
180
244
|
"n": 899,
|
|
181
|
-
"
|
|
245
|
+
"t": "Premium dialog viewer with tabs",
|
|
246
|
+
"s": "The right pane can open other items as tabs beside its own detail, with at most 4 extra tabs."
|
|
182
247
|
}
|
|
183
248
|
]
|
|
184
249
|
},
|
|
185
250
|
{
|
|
186
251
|
"v": "0.319.0",
|
|
187
252
|
"at": "2026-10-19T14:50:54.311Z",
|
|
253
|
+
"f": 2,
|
|
188
254
|
"prs": [
|
|
189
255
|
{
|
|
190
256
|
"n": 897,
|
|
191
|
-
"
|
|
257
|
+
"t": "My work has no Calendar card; the Briefing holds the calendar",
|
|
258
|
+
"s": "My work has no calendar."
|
|
192
259
|
}
|
|
193
260
|
]
|
|
194
261
|
},
|
|
195
262
|
{
|
|
196
263
|
"v": "0.318.0",
|
|
197
264
|
"at": "2026-10-19T14:41:50.138Z",
|
|
265
|
+
"f": 2,
|
|
198
266
|
"prs": [
|
|
199
267
|
{
|
|
200
268
|
"n": 896,
|
|
201
|
-
"
|
|
269
|
+
"t": "One calm top bar on every premium page",
|
|
270
|
+
"s": "Every page has the same bar."
|
|
202
271
|
}
|
|
203
272
|
]
|
|
204
273
|
},
|
|
205
274
|
{
|
|
206
275
|
"v": "0.317.0",
|
|
207
276
|
"at": "2026-10-19T14:34:45.290Z",
|
|
277
|
+
"f": 2,
|
|
208
278
|
"prs": [
|
|
209
279
|
{
|
|
210
280
|
"n": 895,
|
|
211
|
-
"
|
|
281
|
+
"t": "Usage-limit hold, governed report runs, narrow skill writes, resume after kill",
|
|
282
|
+
"s": "Usage-limit hold, governed report runs, narrow skill writes, resume after kill"
|
|
212
283
|
}
|
|
213
284
|
]
|
|
214
285
|
},
|
|
215
286
|
{
|
|
216
287
|
"v": "0.316.0",
|
|
217
288
|
"at": "2026-10-19T14:01:52.906Z",
|
|
289
|
+
"f": 2,
|
|
218
290
|
"prs": [
|
|
219
291
|
{
|
|
220
292
|
"n": 889,
|
|
221
|
-
"
|
|
293
|
+
"t": "Keep-rate report, advisory Checker and reading-worker safeguards",
|
|
294
|
+
"s": "Keep-rate report, advisory Checker and reading-worker safeguards"
|
|
222
295
|
},
|
|
223
296
|
{
|
|
224
297
|
"n": 892,
|
|
225
|
-
"
|
|
298
|
+
"t": "Premium pages use the console's typography",
|
|
299
|
+
"s": "Every premium page reads with the console's type: Space Grotesk and IBM Plex Mono, the console's six sizes (11, 12, 14, 16, 20, 28 px), its three weights (400, 500, 600) and a 14 px / 1.5 body."
|
|
226
300
|
}
|
|
227
301
|
]
|
|
228
302
|
},
|
|
229
303
|
{
|
|
230
304
|
"v": "0.315.0",
|
|
231
305
|
"at": "2026-10-19T13:55:49.728Z",
|
|
306
|
+
"f": 2,
|
|
232
307
|
"prs": [
|
|
233
308
|
{
|
|
234
309
|
"n": 884,
|
|
235
|
-
"
|
|
236
|
-
|
|
237
|
-
]
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
"v": "0.314.0",
|
|
241
|
-
"at": "2026-10-19T13:42:07.408Z",
|
|
242
|
-
"prs": [
|
|
243
|
-
{
|
|
244
|
-
"n": 891,
|
|
245
|
-
"s": "Insights has a Board measures card with the same four tiles, drawn by the same code, over 8, 26 or 52 weeks. Press a measure on Insights to set or clear its target."
|
|
246
|
-
}
|
|
247
|
-
]
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
"v": "0.313.0",
|
|
251
|
-
"at": "2026-10-19T13:29:15.565Z",
|
|
252
|
-
"prs": [
|
|
253
|
-
{
|
|
254
|
-
"n": 887,
|
|
255
|
-
"s": "the list shows the console's Needs you rows, in the console's order, from the same reads (GET /api/briefing, /api/brief-page, /api/needs). The header count, the dock and the bell use the same number."
|
|
310
|
+
"t": "One Work queue card replaces On your plate, With agents and the tray",
|
|
311
|
+
"s": "One full-width Work queue card under the add line, styled like the mockup's tray: one pill row of tabs (Today, Inbox, Agents, Upcoming, Someday, Kept, Done) with counts, rows in two columns, and arrow keys between tabs."
|
|
256
312
|
}
|
|
257
313
|
]
|
|
258
314
|
}
|
package/payload/KIT-VERSION
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
type: Reference
|
|
3
3
|
title: "Eval calibration log"
|
|
4
4
|
description: "Append-only record of every PM override of an evaluator verdict."
|
|
5
|
-
generated: {by: process:create-pmos, at: "2026-10-
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-10-20T01:24:29Z"}
|
|
6
6
|
status: stable
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
type: Reference
|
|
3
3
|
title: "Health budgets"
|
|
4
4
|
description: "Closed registry of health-budget anchors (D59), edited only by the PM."
|
|
5
|
-
generated: {by: process:create-pmos, at: "2026-10-
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-10-20T01:24:29Z"}
|
|
6
6
|
status: stable
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
type: Reference
|
|
3
3
|
title: "Discoveries and friction log"
|
|
4
4
|
description: "Append-only record of what runs discovered and where the process rubbed."
|
|
5
|
-
generated: {by: process:create-pmos, at: "2026-10-
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-10-20T01:24:29Z"}
|
|
6
6
|
status: stable
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -69,6 +69,7 @@ const MOCKUP = path.join(__dirname, '..', 'prototype', 'premium-ux-concept', 'br
|
|
|
69
69
|
await page.route('**/api/briefing-premium*', (r) => r.fulfill({ contentType: 'application/json', body: JSON.stringify({ ok: true, state: 'ready', model, as_of: Date.now() }) }));
|
|
70
70
|
const json = (body) => (r) => r.fulfill({ contentType: 'application/json', body: JSON.stringify(body) });
|
|
71
71
|
if (cn) { await page.route('**/api/brief-page*', json(cn.page)); await page.route('**/api/briefing', json(cn.briefing)); await page.route('**/api/needs?*', json({ needs: cn.agent || [] })); }
|
|
72
|
+
if (cn && cn.props) await page.route('**/api/driver/open*', (r) => { const k = new URL(r.request().url()).searchParams.get('target_kind'); return json({ ok: true, ws: 'w0', mode: 'approve', targets: cn.props[k] || {} })(r); });
|
|
72
73
|
if (pre) await page.addInitScript(pre);
|
|
73
74
|
await page.goto(BASE + '/premium.html?theme=' + theme);
|
|
74
75
|
const up = await until(() => page.evaluate(() => document.querySelectorAll('#rank .rr').length > 0 || !document.querySelector('#calm').hidden), 20000);
|
|
@@ -491,6 +492,8 @@ const MOCKUP = path.join(__dirname, '..', 'prototype', 'premium-ux-concept', 'br
|
|
|
491
492
|
briefing: { cards: [], needs: [{ key: 'mw:J-7', itemId: 'J-7', origin: 'jira', kind: 'Decide', headline: 'Pick the launch market', time: null, dueText: null, src: 'J-7', why: 'Assigned to you as a decision.', facts: [{ text: 'J-7 · In progress', source: 'Jira' }], url: 'https://example.atlassian.net/browse/J-7', url_label: 'Open J-7 in Jira' }] },
|
|
492
493
|
page: { ok: true, today: [], mentions: null, needs: [{ key: 'item:w1', id: 'w1', kind: 'overdue', headline: 'Send Priya the date', days_late: 3, person: 'Priya' }] },
|
|
493
494
|
agent: [{ run_id: 'run-9', kind: 'driver-drafts', question: 'Agent has 2 drafts on Checkout', initiative_id: 'checkout', ws: 'w0' }],
|
|
495
|
+
props: { initiative: { checkout: [{ id: 'p1', what: 'problem', at: '2026-10-19T09:00:00Z', data: { text: 'Checkout drops one in five carts at the address step.' } }, { id: 'p2', what: 'evidence', at: '2026-10-19T09:05:00Z', data: { text: 'Funnel export, 30 days.' } }],
|
|
496
|
+
search: [{ id: 'p3', what: 'problem', at: '2026-10-19T09:10:00Z', data: { text: 'A draft on another initiative.' } }] } },
|
|
494
497
|
};
|
|
495
498
|
const C = await open({ console: CN });
|
|
496
499
|
const cp = C.page;
|
|
@@ -512,6 +515,15 @@ const MOCKUP = path.join(__dirname, '..', 'prototype', 'premium-ux-concept', 'br
|
|
|
512
515
|
await cp.locator('#rank .rr .rhd').nth(own).click();
|
|
513
516
|
await until(() => cp.evaluate(() => /premium-work\.html/.test(location.pathname)));
|
|
514
517
|
ok('C6 your own item opens on My work, on that item', await cp.evaluate(() => location.pathname === '/premium-work.html' && new URLSearchParams(location.search).get('item') === 'w1'), await cp.evaluate(() => location.href));
|
|
518
|
+
await cp.goBack(); await until(() => cp.evaluate(() => location.pathname === '/premium.html' && document.querySelectorAll('#rank .rr').length === 3), 20000);
|
|
519
|
+
const ag = await cp.evaluate(() => [...document.querySelectorAll('#rank .rr')].findIndex((r) => /Agent has 2 drafts on Checkout/.test(r.textContent)));
|
|
520
|
+
await cp.locator('#rank .rr .rhd').nth(ag).click();
|
|
521
|
+
await until(() => cp.evaluate(() => document.querySelector('#dlg').classList.contains('on') && document.querySelectorAll('#oMain .bd-it').length > 0));
|
|
522
|
+
const pd = await cp.evaluate(() => ({ path: location.pathname, title: document.querySelector('#dTitle').textContent, ids: [...document.querySelectorAll('#oMain .bd-it')].map((x) => x.dataset.id), keep: !!document.querySelector('#oMain [data-bda="pkeep"]'), all: !!document.querySelector('#oMain [data-bda="pall"]') }));
|
|
523
|
+
ok('C8 an agent drafts row stays on the Briefing and opens Agent proposals with that initiative\'s drafts only', pd.path === '/premium.html' && pd.title === 'Agent proposals' && pd.ids.join() === 'p1,p2' && pd.keep && pd.all, JSON.stringify(pd));
|
|
524
|
+
await cp.locator('#oMain [data-bda="pall"]').click();
|
|
525
|
+
ok('C9 Show all proposals lists every proposal', await until(() => cp.evaluate(() => [...document.querySelectorAll('#oMain .bd-it')].map((x) => x.dataset.id).sort().join() === 'p1,p2,p3')));
|
|
526
|
+
await cp.keyboard.press('Escape');
|
|
515
527
|
ok('C7 no page error on the console path', C.errors.length === 0, C.errors.join(' | '));
|
|
516
528
|
await C.ctx.close();
|
|
517
529
|
}
|