Page MenuHomeSoftware Heritage

D7997.id28820.diff
No OneTemporary

D7997.id28820.diff

diff --git a/cypress/e2e/persistent-identifiers.cy.js b/cypress/e2e/persistent-identifiers.cy.js
--- a/cypress/e2e/persistent-identifiers.cy.js
+++ b/cypress/e2e/persistent-identifiers.cy.js
@@ -29,6 +29,9 @@
if (win.location.port) {
urlPrefix += `:${win.location.port}`;
}
+ // for some reasons, cypress hangs when visiting that URL in beforeEach callback
+ // due to HTTP redirection, so get the redirected URL here to workaround that issue.
+ url = win.location.href;
const swhids = win.swh.webapp.getSwhIdsContext();
cntSWHID = swhids.content.swhid;
cntSWHIDWithContext = swhids.content.swhid_with_context;

File Metadata

Mime Type
text/plain
Expires
Jul 3 2025, 8:40 AM (7 w, 13 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3218297

Event Timeline