Skip to content

Commit

Permalink
use long title (skosmos:serviceNameLong) on landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
osma committed Aug 14, 2024
1 parent d09a9f3 commit f2cc004
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/view/landing.twig
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{% set pageType = 'landing' %}
{% extends "base-template.twig" %}
{% block title %}{{ GlobalConfig.serviceNameLong(request.lang) }}{% endblock %}

{% block content %}
<div class="col-md-7">
Expand Down
2 changes: 1 addition & 1 deletion tests/cypress/template/landing.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ describe('Landing page', () => {
// go to the Skosmos front page
cy.visit('/')

const expectedTitle = 'Skosmos being tested'
const expectedTitle = 'Skosmos being tested, long title'
// check that the page has a HTML title
cy.get('title').invoke('text').should('equal', expectedTitle)
// check that the page has title metadata
Expand Down

0 comments on commit f2cc004

Please sign in to comment.