Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9338268
D7997.id28820.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
671 B
Subscribers
None
D7997.id28820.diff
View Options
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
Details
Attached
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
Attached To
D7997: cypress: Override type command to remove key press delay
Event Timeline
Log In to Comment