Skip to content

Run a single test command in CI#4007

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

Run a single test command in CI#4007
nstepien merged 9 commits intomainfrom
test-ci

Conversation

@nstepien
Copy link
Collaborator

@nstepien nstepien commented Mar 16, 2026

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
/coverage
/test/**/__screenshots__
/test/**/__traces__
/test/**/screenshots/**/*-win32.png
Copy link
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

platform,
ext
}) {
return `${root}/${testFileDirectory}/screenshots/${testFileName}/${arg}-${browserName}-${platform}${ext}`;
Copy link
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
Copy link
Collaborator

@amanmahajan7 amanmahajan7 left a comment

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
1 check passed
@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