Skip to content

Run a single test command in CI - #4007

Merged
nstepien merged 9 commits into
mainfrom
test-ci
Mar 16, 2026
Merged

nstepien merged 9 commits into
mainfrom
test-ci

Conversation

@nstepien

@nstepien nstepien commented Mar 16, 2026 •

Copy link
Copy Markdown
Collaborator

Configuration is an art.
We can probably merge the visual project test project into the browser project, wdyt?

@nstepien nstepien self-assigned this Mar 16, 2026
Comment thread .gitignore
/coverage
/test/**/__screenshots__
/test/**/__traces__
/test/**/screenshots/**/*-win32.png

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added the win32.png line so I'm not inconvenienced when testing things locally

Comment thread vite.config.ts
platform,
ext
}) {
return `${root}/${testFileDirectory}/screenshots/${testFileName}/${arg}-${browserName}-${platform}${ext}`;

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can properly differentiate between failure screenshots and test screenshots.
So now we can capture screenshots failures in visual tests as well.
https://vitest.dev/config/browser/expect.html#browser-expect-tomatchscreenshot-resolvescreenshotpath

github-actions Bot and others added 2 commits March 16, 2026 16:55
@nstepien
nstepien marked this pull request as ready for review March 16, 2026 17:02
@nstepien
nstepien requested a review from amanmahajan7 as a code owner March 16, 2026 17:02

@amanmahajan7 amanmahajan7 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@nstepien
nstepien merged commit b8d769c into main Mar 16, 2026
@nstepien
nstepien deleted the test-ci branch March 16, 2026 19:40
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