Skip to content

test(ui): add Playwright component tests for MessageTimeline and SessionView#248

Draft
pixellos wants to merge 2 commits into
NeuralNomadsAI:devfrom
pixellos:test/playwright-component-tests
Draft

test(ui): add Playwright component tests for MessageTimeline and SessionView#248
pixellos wants to merge 2 commits into
NeuralNomadsAI:devfrom
pixellos:test/playwright-component-tests

Conversation

@pixellos

Copy link
Copy Markdown
Contributor

Summary

Adds Playwright component test infrastructure and initial tests for the @codenomad/ui package.

Changes

  • Test infrastructure: Playwright CT config, test provider (test-utils.tsx), and shims
  • MessageTimeline tests: Empty segments, diverse segment rendering, click events, 1000-item virtualization perf test
  • SessionView tests: Rendering with loading state, session display, prompt input visibility
  • Dev dependency: Added @sand4rt/experimental-ct-solid for SolidJS component testing

How to run

cd packages/ui
npx playwright test -c playwright-ct.config.ts

@github-actions

Copy link
Copy Markdown

PR builds are available as GitHub Actions artifacts:

https://github.com/NeuralNomadsAI/CodeNomad/actions/runs/23538671140

Artifacts expire in 7 days.
Artifacts: (none found on this run)

@shantur

shantur commented Mar 25, 2026

Copy link
Copy Markdown
Collaborator

@pixellos - Thanks.
The builds are failing currently with

npm error
npm error `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
npm error

@pixellos

Copy link
Copy Markdown
Contributor Author

Working on it, just installed WSL to create linux native package locks.

@github-actions

Copy link
Copy Markdown

PR builds are available as GitHub Actions artifacts:

https://github.com/NeuralNomadsAI/CodeNomad/actions/runs/23539594100

Artifacts expire in 7 days.
Artifacts: (none found on this run)

@github-actions

Copy link
Copy Markdown

PR builds are available as GitHub Actions artifacts:

https://github.com/NeuralNomadsAI/CodeNomad/actions/runs/23540099060

Artifacts expire in 7 days.
Artifacts: (none found on this run)

@github-actions

Copy link
Copy Markdown

PR builds are available as GitHub Actions artifacts:

https://github.com/NeuralNomadsAI/CodeNomad/actions/runs/23540663906

Artifacts expire in 7 days.
Artifacts: (none found on this run)

@shantur shantur marked this pull request as draft March 25, 2026 12:29
@shantur

shantur commented Mar 25, 2026

Copy link
Copy Markdown
Collaborator

@CodeNomadBot

I want you to perform the gatekeeper checks for latest PR state

check for regressions
check for better possible implementations
Be the PR gatekeeper

@shantur

shantur commented Mar 25, 2026

Copy link
Copy Markdown
Collaborator

@CodeNomadBot

Check again

@pixellos

Copy link
Copy Markdown
Contributor Author

Still fighting with the linux build, but i'm getting closer.

@pixellos pixellos force-pushed the test/playwright-component-tests branch from fd5fc10 to a10bdf8 Compare March 28, 2026 13:27
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.

2 participants