diff --git a/cypress/integration/layout.spec.js b/cypress/integration/layout.spec.js --- a/cypress/integration/layout.spec.js +++ b/cypress/integration/layout.spec.js @@ -46,4 +46,10 @@ cy.get('footer') .should('contain', copyrightText); }); + + it('should contain link to Web API', function() { + cy.get('footer') + .get(`a[href="${this.Urls.api_1_homepage()}"]`) + .should('contain', 'Web API'); + }); }); diff --git a/swh/web/templates/homepage.html b/swh/web/templates/homepage.html --- a/swh/web/templates/homepage.html +++ b/swh/web/templates/homepage.html @@ -28,13 +28,14 @@

Search

{% include "includes/origin-search-form.html" %} + +

... or check our Web API

-
diff --git a/swh/web/templates/layout.html b/swh/web/templates/layout.html --- a/swh/web/templates/layout.html +++ b/swh/web/templates/layout.html @@ -208,7 +208,8 @@ Archive access, API- Contact- - JavaScript license information + JavaScript license information- + Web API