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 @@
... or check our Web API
-