cy2
cy2 copied to clipboard
Azure blob type header
Adds a second set of interceptors that add the x-ms-blob-type
header to artifact upload requests to Azure storage when the AZURE_BLOB_URL environment variable is configured.
The CLI complains about not being able to confirm the upload of artifacts but both videos and screenshots are properly uploaded to the storage account and they do show up in our sorry-cypress dashboard. I suspect this has to do with an API endpoint that is not implemented by the sorry-cypress director.
Warning: We encountered an error while confirming the upload of artifacts.
These results will not display artifacts.
This error will not affect or change the exit code.
StatusCodeError: 404 - "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<title>Error</title>\n</head>\n<body>\n<pre>Cannot PUT /instances/e1617adc-01e3-4568-9910-97f8ca1dbbbd/artifacts</pre>\n</body>\n</html>\n"
Tested on Windows 11 with Cypress 13.6.0
I'd like to add tests but after browsing through the existing tests I'm not sure where to start, suggestions are appreciated.