pagesfix

command
v0.298.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2026 License: MIT Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command pagesfix is the Pages screens spec's fixture (e2e/tests/pages-declutter.spec.ts): an owner's pages, written through the real store (internal/pages: row-level security, versions, links and responses as in production), whose counts are pairwise distinct so each badge the list draws can only come from one place.

DATABASE_URL=…_e2e MUSTER_CONNECTOR_ENCRYPTION_KEY=<base64 32 bytes> \
  go run ./e2e/pagesfix seed <owner>    prints the pages as JSON
DATABASE_URL=…_e2e go run ./e2e/pagesfix clear <owner>
DATABASE_URL=…_e2e MUSTER_CONNECTOR_ENCRYPTION_KEY=… \
  go run ./e2e/pagesfix phone <owner>    the phone page (pages-phone.spec.ts), {page, token}
DATABASE_URL=…_e2e go run ./e2e/pagesfix phone-clear <owner>
DATABASE_URL=…_e2e MUSTER_CONNECTOR_ENCRYPTION_KEY=… \
  go run ./e2e/pagesfix themed <owner>   the theme page (pages-theme-width.spec.ts), {page, token}
DATABASE_URL=…_e2e go run ./e2e/pagesfix themed-clear <owner>
  go run ./e2e/pagesfix feedback <owner>    the feedback page (pages-feedback.spec.ts), {page, token}
DATABASE_URL=…_e2e go run ./e2e/pagesfix feedback-clear <owner>
DATABASE_URL=…_e2e go run ./e2e/pagesfix titled <owner> <title>   one plain page (palette-everything.spec.ts); prints its id
DATABASE_URL=…_e2e go run ./e2e/pagesfix titled-clear <owner> <title>

phone and phone-clear touch only the page titled PhoneTitle; themed and themed-clear only the page titled ThemedTitle; feedback and feedback-clear only the one titled FeedbackTitle; titled and titled-clear only the pages titled <title>.

The pages (all synthetic), each made by a mirrored session ("Release helper" on host "laptop"), times set back so each reads as a real age:

  • "Quarter plan": 4 versions, no link, no reply;
  • "Launch notes": 1 version, its live share link, 3 replies;
  • "Venue survey": 1 version, 2 links waiting for the owner, 1 live one-off link, 2 revoked and 1 declined;
  • "Budget review": 2 versions, its live share link, 1 reply, 1 waiting;
  • a page whose long title must wrap whole words, ending in one unbroken string longer than a phone is wide: 1 version, nothing else.

seed first deletes every page of the owner's (this e2e database's only).

🔴 IT REFUSES ANY DATABASE WHOSE NAME DOES NOT END IN "_e2e" (e2edb.Check).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL