Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Paste
P1069
cypress
Active
Public
Actions
Authored by
jayeshv
on Jun 14 2021, 2:35 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
it('should redirect to browse when origin url is searched', function() {
71 cy.get('#swh-origins-url-patterns')
72 .type(origin.url);
73 cy.get('.swh-search-icon')
74 .click();
75
76 cy.location('pathname')
77 .should('eq', this.Urls.browse_origin_directory());
78 c
79 cy.location('search')
80 .should('eq', `?origin_url=${origin.url}`);
81 });
Event Timeline
jayeshv
created this paste.
Jun 14 2021, 2:35 PM
2021-06-14 14:35:55 (UTC+2)
Log In to Comment