plum-e2e 2.4.8 → 2.4.9

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 CHANGED
@@ -78,21 +78,23 @@ Full documentation is available at:
78
78
 
79
79
  ## Command Reference
80
80
 
81
- | Command | Description |
82
- | ----------------------------- | ------------------------------------------------------------------ |
83
- | `plum init` | Initialize a new project in the current folder |
84
- | `plum server start` | Start the full UI stack via Docker (alias: `plum start`) |
85
- | `plum server stop` | Stop the server and preserve data (alias: `plum stop`) |
86
- | `plum server reconfig` | Re-enter server settings without starting |
87
- | `plum run-test` | Run all tests locally without Docker |
88
- | `plum run-test @tag` | Run tests matching a tag |
89
- | `plum run-test --parallel N` | Run tests across N parallel workers |
90
- | `plum run-test --browser <b>` | Run in `chromium` (default) or `firefox` |
91
- | `plum create-step` | Interactively scaffold a new step definition |
92
- | `plum node start` | Set up connectivity, start a runner node, and open the runner menu |
93
- | `plum node stop` | Stop the runner node started from this folder |
94
- | `plum node reconfig` | Re-enter node settings and re-register |
95
- | `plum manage-runners` | Open the interactive runner management menu |
81
+ | Command | Description |
82
+ | ----------------------------- | ----------------------------------------------------------------------------- |
83
+ | `plum init` | Initialize a new project in the current folder |
84
+ | `plum server start` | Start the full UI stack via Docker (alias: `plum start`) |
85
+ | `plum server stop` | Stop the server and preserve data (alias: `plum stop`) |
86
+ | `plum restart` | Rebuild and restart the server without prompts (alias: `plum server restart`) |
87
+ | `plum update` | Update Plum to the latest version and restart the server |
88
+ | `plum server reconfig` | Re-enter server settings without starting |
89
+ | `plum run-test` | Run all tests locally without Docker |
90
+ | `plum run-test @tag` | Run tests matching a tag |
91
+ | `plum run-test --parallel N` | Run tests across N parallel workers |
92
+ | `plum run-test --browser <b>` | Run in `chromium` (default) or `firefox` |
93
+ | `plum create-step` | Interactively scaffold a new step definition |
94
+ | `plum node start` | Set up connectivity, start a runner node, and open the runner menu |
95
+ | `plum node stop` | Stop the runner node started from this folder |
96
+ | `plum node reconfig` | Re-enter node settings and re-register |
97
+ | `plum manage-runners` | Open the interactive runner management menu |
96
98
 
97
99
  ---
98
100
 
@@ -181,27 +181,14 @@
181
181
  </div>
182
182
 
183
183
  <div>
184
- {#if isScheduled(detail.triggerType)}
185
- <p class="report-task-name">
186
- <svg
187
- width="11"
188
- height="11"
189
- viewBox="0 0 24 24"
190
- fill="none"
191
- stroke="currentColor"
192
- stroke-width="2"
193
- stroke-linecap="round"
194
- stroke-linejoin="round"
195
- >
196
- <rect x="3" y="4" width="18" height="18" rx="2" />
197
- <line x1="16" y1="2" x2="16" y2="6" />
198
- <line x1="8" y1="2" x2="8" y2="6" />
199
- <line x1="3" y1="10" x2="21" y2="10" />
200
- </svg>
201
- {detail.triggerType}
202
- </p>
203
- {/if}
204
- <h1>{overallPass ? 'Passed' : 'Failed'}</h1>
184
+ <div class="h1-row">
185
+ <h1>{overallPass ? 'Passed' : 'Failed'}</h1>
186
+ {#if detail.testRun?.title}
187
+ <span class="run-name-badge">{detail.testRun.title}</span>
188
+ {:else if isScheduled(detail.triggerType)}
189
+ <span class="run-name-badge">{detail.triggerType}</span>
190
+ {/if}
191
+ </div>
205
192
  <div class="header-meta">
206
193
  <span class="mono">{detail.tags}</span>
207
194
  <span class="meta-sep">·</span>
@@ -524,21 +511,32 @@
524
511
  color: var(--fail);
525
512
  }
526
513
 
527
- .report-task-name {
514
+ .h1-row {
515
+ display: flex;
516
+ align-items: center;
517
+ gap: 0.75rem;
518
+ margin-bottom: 0.2rem;
519
+ }
520
+
521
+ .run-name-badge {
528
522
  display: inline-flex;
529
523
  align-items: center;
530
- gap: 0.35rem;
531
- font-size: 0.7rem;
532
- font-weight: 600;
533
- text-transform: uppercase;
534
- letter-spacing: 0.1em;
535
- color: var(--warn);
536
- margin-bottom: 0.35rem;
524
+ font-size: 0.75rem;
525
+ font-weight: 500;
526
+ color: var(--accent);
527
+ background: var(--accent-soft);
528
+ border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
529
+ border-radius: 100px;
530
+ padding: 0.25rem 0.7rem;
531
+ white-space: nowrap;
532
+ max-width: 240px;
533
+ overflow: hidden;
534
+ text-overflow: ellipsis;
537
535
  }
538
536
 
539
537
  h1 {
540
538
  font-size: 2rem;
541
- margin-bottom: 0.2rem;
539
+ margin-bottom: 0;
542
540
  }
543
541
 
544
542
  .header-meta {
@@ -166,6 +166,10 @@
166
166
 
167
167
  {#if state.currentRun}
168
168
  <div class="run-info">
169
+ {#if state.currentRun.runTitle}
170
+ <span class="run-title-label">{state.currentRun.runTitle}</span>
171
+ <span class="run-sep">·</span>
172
+ {/if}
169
173
  <span class="run-tag-label">{state.currentRun.tag || 'all tests'}</span>
170
174
  <span class="run-sep">·</span>
171
175
  <span class="run-detail"
@@ -463,6 +467,17 @@
463
467
  flex-wrap: wrap;
464
468
  }
465
469
 
470
+ .run-title-label {
471
+ font-size: 0.875rem;
472
+ font-weight: 500;
473
+ color: var(--accent);
474
+ background: var(--accent-soft);
475
+ border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
476
+ border-radius: 100px;
477
+ padding: 0.15rem 0.6rem;
478
+ white-space: nowrap;
479
+ }
480
+
466
481
  .run-tag-label {
467
482
  font-family: 'JetBrains Mono', monospace;
468
483
  font-size: 0.8125rem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plum-e2e",
3
- "version": "2.4.8",
3
+ "version": "2.4.9",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/silverlunah/plum.git"