e2e tests don't compile when including an image
mraible opened this issue · comments
Steps to reproduce are in this demo script.
photo.e2e-spec.ts
doesn’t compile - because an image
variable is not found. Adding a const
to the top to fixes it.
// https://www.w3docs.com/snippets/html/how-to-display-base64-images-in-html.html
const image = 'iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4\n' +
' //8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==';
Next issue is in photo.po.ts
. “image” field not found, setting to “fileInput” in doesn’t work
It looks like the e2e
command is still calling Protractor and trying to download Webdriver.
Yes, this is solving mobile-jhipster problem.
Solved by #639.