chromaui / chromatic-e2e

Archive end-to-end tests to be replayed in Storybook and Chromatic
MIT License
13 stars 3 forks source link

Can't use "localhost" asset files #106

Closed gwBear1 closed 1 month ago

gwBear1 commented 4 months ago

Is your feature request related to a problem? Please describe. I'm running chromatic locally, and the asset files are also coming from local, but there doesn't seem to be a way to use internalized asset files in chromatic at the moment.

Describe the solution you'd like build test-result with local asset files.

Describe alternatives you've considered hmm.. Allowing takeSnapshot locally and upload the png images to the chromatic?

Additional context I'm using playwright, And I'm developing a web screen in an environment without internet.

winkerVSbecks commented 2 months ago

@gwBear1 are you able to share a reproduction? Or try using the latest version of this package: https://www.chromatic.com/docs/playwright/

Assets served on localhost should totally be supported.

gwBear1 commented 1 month ago

I'll check again. If it happens again, I'll reopen this issue with specific conditions.