Skip to content

Add tests#19

Merged
JakubAndrysek merged 7 commits into
mainfrom
add-tests
May 16, 2026
Merged

Add tests#19
JakubAndrysek merged 7 commits into
mainfrom
add-tests

Conversation

@JakubAndrysek

Copy link
Copy Markdown
Member

ConsoleBusService (8): append, subscribe, clear, max cap, channels
ConsoleTelemetryService (8): snapshots, KV parsing, merging, trim
KeyValueParser (10): single/multi pair, edge cases, timestamps
KeyValueHistory (3): deep clone, independent mutation, empty
Language (9): all extension mappings, edge cases
PackageEventsService (4): notify, unsubscribe, errors, safety
ProjectImportUtils (10): file extension checks, size formatting

Remove demo placeholder test. Fix Playwright test with real
assertions (logo link, theme toggle, heading visibility).

ConsoleBusService (8): append, subscribe, clear, max cap, channels
ConsoleTelemetryService (8): snapshots, KV parsing, merging, trim
KeyValueParser (10): single/multi pair, edge cases, timestamps
KeyValueHistory (3): deep clone, independent mutation, empty
Language (9): all extension mappings, edge cases
PackageEventsService (4): notify, unsubscribe, errors, safety
ProjectImportUtils (10): file extension checks, size formatting

Remove demo placeholder test. Fix Playwright test with real
assertions (logo link, theme toggle, heading visibility).
…ct pages

- home.spec.ts: hero CTAs, template heading, header visibility
- navigation.spec.ts: header link navigation, create/import links
- project-new.spec.ts: heading + header rendering, search params
- project-import.spec.ts: heading + tabs, submit disabled state

Fix index.spec.ts selector ambiguity (JacLy matches template cards).
…lures

Project/Docs links matched 'Open recent projects'/'Browse all
projects' in WebKit/Firefox, causing Playwright strict mode
violation. Use exact: true for nav link selectors.
…04, docs

- project-new: fill name, select first template via button card, click create,
  wait for Creating... state or Blockly editor (.blocklyMainBackground)
- project-list: verify page renders with heading + create/import links
- not-found: verify 404 text, go home link, go back button
- docs: verify layout renders, dynamic doc page param works

45/45 tests pass across chromium, firefox, webkit.
Verify complete flow: name input → template select → create →
'Creating...' state → redirect to /project/ → editor page
(no GeneralHeader nav) → loading spinner gone → Blockly
workspace (.blocklyMainBackground) visible → project name +
editor controls visible.
@JakubAndrysek JakubAndrysek merged commit d2a969c into main May 16, 2026
4 checks passed
@JakubAndrysek JakubAndrysek deleted the add-tests branch May 16, 2026 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant