Failed to load resource when the component is with image url #29600
Unanswered
ZHChen8397
asked this question in
Component Testing
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi There, I'm new with cypress and encounter a issue when doing the component test
I have a component "Hero" which the props is as below
and here's my test
the test will pass but when I check the result from UI, I saw that the image can not show and the console shows:
GET http://localhost:8080/assets/cms/xxxx/xxx.png 404 (Not Found)
does anyone know how to fix this issue?
Beta Was this translation helpful? Give feedback.
All reactions