Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loki + Storybook 8 problem with GitLab ci cd #521

Open
SergeyBrukov opened this issue Jun 10, 2024 · 0 comments
Open

Loki + Storybook 8 problem with GitLab ci cd #521

SergeyBrukov opened this issue Jun 10, 2024 · 0 comments

Comments

@SergeyBrukov
Copy link

Hello, I have a problem, well, I can’t connect Loki to CI/CD, I tried using Google, I connected it, but because the browsers are different locally and for CI/CD, different screenshots come out, now I’m trying through docker, but I keep getting an error

Using docker image sha256:b8da0189cd1b3773fd91fe2ec0ab8a45a62171d42a4984c48680d682fc0ab33a for yukinying/chrome-headless-browser-stable:118.0.5993.117 with digest yukinying/chrome-headless-browser-stable@sha256:626c200c0 a94e7ee87cc883e4ae6d5f47a4639c31e316e76f4c684bdf4be9934 ...
find: '/home/headless/.config/chromium/Crash Reports/pending/': No such file or directory
[0610/130928.049129:ERROR:headless_shell.cc(266)] Multiple targets are not supported.

here is mine
"storybook": "storybook dev -p 9009 -c .storybook",
"test:ui": "npx loki test",
"test:ui:ci": "npx concurrently --kill-others --raw --success first "npm run storybook" "npm run test:ui" "npx delay""

run-loki:
image: yukinying/chrome-headless-browser-stable:118.0.5993.117
stage: run-loki
scripts:

npm run test:ui:ci
artifacts:
paths:
.loki/difference/
.loki/reference/
.loki/current/
expire_in: 1 week
I've been sitting on this CI/CD with Loki for a very long time

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

No branches or pull requests

1 participant