atomicdata-dev/atomic-data-browser

Upload E2E test not working in this CI

Closed this issue · 1 comments

For some reason, one specific E2E test has been failing only in the CI of atomic-data-browser.

It's the download, upload test. It works fine locally, and the rust build works fine, too.

322: waiting for selector "[data-test]:has-text("testimage.svg")"

And here the screenshots:

test-failed-4
test-failed-3
test-failed-2
test-failed-1

Seems like the first screenshot is showing a failed upload, I suspect the cookie not to be sent.

EDIT: has to do with #253. Cookie auth is not working cross origin, which is used when uploading the file.

Yup, turning on signed HTTP requests for uploads fixed the issue. #253 (cross-origin cookies) would fix this.