Przejdź do treści
Biblioteka skilli
Programowanie · Testowanie

frontend-smoke-test

/frontend-smoke-test

Uruchamia deterministyczny test dymny IceGraph w przeglądarce: wybór w tabeli, zakresy snapshotów, Timeline, Metadata, FileTree, Graph, Docs, pamięć podręczna i błędy w konsoli.

Repozytorium
icegraph ↗
Licencja
AGPL-3.0
Ostatnia zmiana repozytorium
27.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

AGPL-3.0, copyleft: przeróbki udostępniane innym muszą mieć tę samą licencję.

Co robi i kiedy

Uruchamia deterministyczny test dymny IceGraph w przeglądarce: wybór w tabeli, zakresy snapshotów, Timeline, Metadata, FileTree, Graph, Docs, pamięć podręczna i błędy w konsoli.

Oryginalny opis (EN)

Runs a deterministic browser smoke test of IceGraph across table selection, snapshot ranges, Timeline, Metadata, FileTree, Graph, Docs, URL cleanup, browser caching, keyboard controls, and console errors. Supports full testing with a real backend or Docker demo and a reduced MSW profile. Use when asked to smoke-test, QA, or check frontend regressions.

Jak działa

  1. Preconditions
  2. Profiles
  3. Test rules
  4. Phase 1: Entry and ranges
  5. Phase 2: Table views
  6. Phase 3: Cross-view state
  7. Phase 4: Docs
  8. Report
Sekcje z nagłówków SKILL.md, w oryginale · 210 linii, 1 449 słów
Podgląd SKILL.md
---
name: frontend-smoke-test
description: Runs a deterministic browser smoke test of IceGraph across table selection, snapshot ranges, Timeline, Metadata, FileTree, Graph, Docs, URL cleanup, browser caching, keyboard controls, and console errors. Supports full testing with a real backend or Docker demo and a reduced MSW profile. Use when asked to smoke-test, QA, or check frontend regressions.
user-invocable: true
---

# Frontend smoke test

Test an already running IceGraph frontend. Never start or stop a server.

## Preconditions

Establish and report:

1. Frontend URL and whether it is reachable.
2. Profile: `full` for a real backend or Docker demo, or `msw` for mock mode.
3. Test table. In MSW use `default.events`; in full mode it may be selected through Browse catalog.
4. Browser capabilities: navigation, keyboard input, page inspection, tabs, screenshots, and console
   inspection.

Ask only for missing information. If the URL is unreachable, stop and wait for the user. If a
browser capability is unavailable, mark only its dependent checks `NOT RUN`; never silently pass
them.

## Profiles

| Check | Full | MSW |
| --- | --- | --- |
| Home and catalog | Required | Required; any table name opens `default.events` |
| Snapshot Selection | Required | Required with mock snapshots and metadata |
| Full-range graph | Required | Required with the full mock graph |
| Bounded-range rendered data | Required | Required; the mock filters its fixture by range |
| Table views and keyboard controls | Required | Required |
| Cache restoration and Recompile | Required | N/A |
| Docs | Required | Required |

Use `PASS`, `FAIL`, `N/A`, `BLOCKED`, or `NOT RUN` for every result.

## Test rules

- Use browser automation available in the current environment.
- Follow the phases in order.
- Wait up to 120 seconds for each graph load, polling loading state rather than sleeping once.
- Inspect visible error states and error-level console messages after every page.
- Record expected and observed behavior immediately after a failure.
- Capture screenshots only for failures or ambiguous visual states.
- Treat valid empty and mode-limited states as `N/A`, not failures.
- Preserve full snapshot IDs digit-for-digit. Never compare them as JavaScript numbers.
- Close extra tabs and remove temporary screenshots before finishing.

## Phase 1: Entry and ranges

### Full profile

Home:

- Logo, table input, Continue, and Browse catalog render.
- Browse catalog loads and filtering works.
- Select a table with at least three ordered snapshots. If unavailable, mark bounded-range checks
  `BLOCKED` and explain why.

Snapshot Selection:

- The snapshot list loads newest first, between a Latest row and a Full history row.
- Clicking one snapshot marks it as both Start and End. Clicking a second snapshot finishes the
  range with the older one as Start. A third click starts a new range.
- The snapshot list and the latest metadata load independently. A slow or failed request only
  affects its own section. Specs stays disabled until the metadata loads.
- A table with no snapshots shows a note instead of the list, and Generate Graph still reaches
  Timeline.
- The latest metadata renders without a graph job: the version and At a glance above the list, the
  rest below it. At a glance shows the current snapshot's record, file, and size statistics, and
  its commit time.
- The Schema, Spec, and Order links and the navbar Specs button open the Specs panel. Escape closes
  it and `spec_kind`/`spec_id` round-trip through the URL.
- The navbar shows the logo, the table name, Specs, and Docs, with no Analyze tabs. Docs and the
  logo (which leads Home) open a new tab, and the table picker opens the chosen table in a new
  tab. The selected range is unchanged afterward.
- Generate Graph replaces the snapshot list with the preparation checklist while the metadata stays
  visible around it, then lands on Timeline. Timeline shows no second loader.
- Full range: select Full history and Latest, then Generate Graph. Neither snapshot parameter remains
  in the URL and Timeline renders the loaded history.
- Bounded range: select non-default Start and End values forming a strict subset, then Generate
  Graph. Both URL values match the selected IDs digit-for-digit, including IDs above `2^53`.
- The bounded Timeline visibly contains fewer snapshot nodes than the full range and begins at the
  selected Start snapshot.
- Metadata Current Snapshot matches the selected metadata file. For a branch End snapshot, this can
  differ from the selected End snapshot.
- FileTree treats the selected End snapshot as the latest available snapshot in the bounded range.

A branch-write event may appear after the End timestamp when its diff explains another branch ref
moving. That documented case is not a range failure.

Reload the bounded URL and confirm Timeline, Metadata, and FileTree still represent the same range.
Use browser Back and Forward once and confirm the restored route and range match their URLs.

### MSW profile

- Open the configured URL and confirm Home loads. Browse catalog lists `default.events`, and any
  submitted table name opens Snapshot Selection for `default.events`.
- Run the Snapshot Selection list, metadata, and Specs checks above.
- Generate Graph for a bounded range and confirm Timeline and Graph show only the snapshots in that
  range, plus the manifests and data files they still reference. The Metadata view uses the selected
  metadata node's path, current snapshot, schema, refs, and properties. Other metadata fields come
  from the fixture's latest metadata document.

## Phase 2: Table views

Keep the bounded range loaded in both modes.

### Timeline

- Timeline nodes and the legend render.
- Selecting a node opens its details.
- Metadata and Snapshot actions, when present, open Graph in a new tab with the intended node
  selected and locked. Close the extra tab afterward.
- `h` or Left and `l` or Right move between snapshots, including selecting the first or last node
  when none is selected.
- `j` and `k` scroll the panel, `f` toggles fullscreen, `r` fits the timeline, and Escape closes the
  panel.

### Metadata

- Structured metadata renders without an error state.
- In full mode Current Snapshot matches the bounded End snapshot.
- `j` and `k` scroll the page.

### FileTree

- Tree and Flat modes render.
- Expansion, search, filters, and available scope controls respond.
- In full mode the snapshot selector reflects the bounded range.
- View in Graph opens a new tab with the selected file node. Close the extra tab afterward.
- Set at least one non-default `filetree_*` option for the cleanup check in Phase 3.

### Graph

- Nodes and links render without an error state.
- Center Graph and Reset Full View respond.
- Ensure the mode control reads Lineage Traversal. Press `i` only if it currently reads Inspect
  (Locked).
- Enter or Space selects Main Metadata and opens its panel.
- `h` or Left and `l` or Right traverse parents and children.
- If a traversal choice popup appears, choose one displayed option and confirm traversal.
- `j` and `k` scroll the panel, `f` toggles fullscreen, Escape closes it, `c` centers the graph, and
  `r` resets it.

Canvas node clicks are not required. Keyboard traversal is the deterministic selection path.

### Cache, full profile only

- Reload the graph route and confirm a validated graph can restore from browser cache.
- Use Recompile graph and confirm collection progress appears and a fresh graph replaces the cached
  result.
- Confirm the final graph renders and no stale selection remains.

## Phase 3: Cross-view state

- Use one continuous keyboard sequence: Timeline `2` to Metadata, `3` to FileTree, `4` to Graph, and
  `1` back to Timeline.
- After a Graph deep-link selection is applied, confirm `select_node_id` is removed while table and
  snapshot-range parameters remain.
- Navigate away from FileTree and confirm all `filetree_*` parameters are removed from Timeline,
  Metadata, and Graph.
- Confirm closing selections, resetting controls, and leaving each view do not affect the next view.
- Confirm no extra browser tabs remain.

## Phase 4: Docs

- `/docs` loads without a table and renders content and navigation.
- `k` opens search.
- Control+n and Control+p change the selected result.
- Enter opens the result and Escape closes search.

## Report

Use exactly this structure:

```text
Environment
- URL: ...
- Reachable: yes|no
- Profile: full|msw
- Table: ...
- Range: ...|N/A
- Capabilities: navigation ..., keyboard ..., inspection ..., tabs ..., screenshots ..., console ...

Results
- Home and catalog: PASS|FAIL|N/A|BLOCKED|NOT RUN
- Snapshot ranges and precision: PASS|FAIL|N/A|BLOCKED|NOT RUN
- Reload, history, and cache: PASS|FAIL|N/A|BLOCKED|NOT RUN
- Timeline and keys: PASS|FAIL|N/A|BLOCKED|NOT RUN
- Metadata and keys: PASS|FAIL|N/A|BLOCKED|NOT RUN
- FileTree: PASS|FAIL|N/A|BLOCKED|NOT RUN
- Graph and keys: PASS|FAIL|N/A|BLOCKED|NOT RUN
- Cross-view state: PASS|FAIL|N/A|BLOCKED|NOT RUN
- Docs and keys: PASS|FAIL|N/A|BLOCKED|NOT RUN

Failures
- <page or flow>: expected ..., observed ...

Console errors
- <page>: <error>

Not run or limited
- <check>: <reason>

Cleanup
- Extra tabs: 0
- Temporary artifacts: 0
```

Use `None` for empty Failures, Console errors, or Not run or limited sections. Include screenshots
only for listed failures.

Wersje

W bazie nie ma innych skilli o nazwie frontend-smoke-test.

Migawka bazy z 13.11.2026 · wersja paczki 4504ab63303d (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100icegraph
    Obsługuje klienta icegraph-client do zdalnego serwera IceGraph: listuje tabele, pobiera historię snapshotów, buduje graf metadanych i tworzy linki do interfejsu webowego.
  • 100run-smoke-tests
    Uruchamia testy smoke w Playwright, debuguje błędy i weryfikuje poprawki przed przeglądową kontrolą w przeglądarce.
  • 100browser-check
    Prowadzi lokalne testy smoke w przeglądarce dla frontendu, aplikacji full-stack i procesów wizualnych z użyciem Playwright, Browser Use lub podobnej automatyzacji, gdy UI, trasa lub formularz wymaga interaktywnej weryfikacji.
  • 90browser-qa
    Sprawdza zmiany interfejsu w prawdziwej przeglądarce: trasy, kluczowe interakcje, dwa lub więcej rozmiarów ekranu i błędy konsoli.
  • 95Browser
    Debuguje frontend w przeglądarce: zbiera logi konsoli, żądania sieciowe i błędy od razu, bez dodatkowej konfiguracji.
  • 90playwright-checking
    Robi dymną kontrolę zmiany w środowisku testowym przez Playwright: scenariusze ręczne, zrzuty ekranu, błędy konsoli i raport PASS lub FAIL.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.