@swmansion/argent 0.19.0 → 0.19.1-next.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.
Binary file
Binary file
Binary file
Binary file
package/dist/cli-cmds.mjs CHANGED
@@ -9547,7 +9547,11 @@ filename (minus .yaml) names the run's report and artifacts, so it must
9547
9547
  contain only letters, numbers, "_", or "-" \u2014 the same charset a name must
9548
9548
  match. A flow that begins with a \`launch\` step runs its app from scratch; any
9549
9549
  other flow (a fragment) runs against the device's current state \u2014 handy while
9550
- authoring one.
9550
+ authoring one. Exception: a fragment whose first step \`run:\`s a chromium e2e
9551
+ flow boots that flow's app before step 1 \u2014 when that launch is unambiguously
9552
+ chromium (a lone \`{ chromium: ... }\` target, or --platform chromium); a
9553
+ multi-platform launch auto-detects a device instead. Pass --device to attach to
9554
+ a running instance.
9551
9555
 
9552
9556
  A directory run prints only failing steps plus a final flow summary;
9553
9557
  --recursive walks subdirectories too (dot-directories and node_modules are
@@ -9674,7 +9678,7 @@ function renderUnderStepLine(s, n2, text2) {
9674
9678
  function renderSummary(report, opts = {}) {
9675
9679
  const warnings = report.steps.filter((s) => s.warning).length;
9676
9680
  const warningsNote = warnings ? `, ${warnings} warning${warnings === 1 ? "" : "s"}` : "";
9677
- const where = opts.withDevice && report.device ? ` on ${report.device}` : "";
9681
+ const where = opts.withDevice && report.device ? ` (started on ${report.device})` : "";
9678
9682
  const nothingCounted = report.ok && report.passed + report.failed + report.errored + report.skipped === 0;
9679
9683
  const note = nothingCounted ? " (no test steps)" : "";
9680
9684
  return `${report.ok ? "PASS" : "FAIL"}${where} \u2014 ${report.passed} passed, ${report.failed} failed, ${report.errored} errored, ${report.skipped} skipped${warningsNote}${note}`;